Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003132/0.003132, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.954/2.954, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.27e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004334/0.004367, allocations: 2.015 MB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.007043, allocations: 1.305 MB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.007152, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.007653, allocations: 164.8 kB / 0.7898 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.008182, allocations: 224.2 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.008571, allocations: 164.9 kB / 0.7902 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.009052, allocations: 343 kB / 0.7905 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.009204, allocations: 32.92 kB / 0.7905 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.009525, allocations: 191.5 kB / 0.7907 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.009786, allocations: 144.7 kB / 0.7908 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.009836, allocations: 16 kB / 0.7909 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.00998, allocations: 53.45 kB / 0.7909 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.01013, allocations: 103.6 kB / 0.791 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01025, allocations: 67.77 kB / 0.7911 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.01083, allocations: 390.6 kB / 0.7914 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01083, allocations: 0.5625 kB / 0.7914 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01083, allocations: 3.938 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.01084, allocations: 1.062 kB / 0.7915 GB, free: 7.586 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001213/0.01205, allocations: 0.6854 MB / 0.7921 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.01209, allocations: 13.62 kB / 0.7921 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01221, allocations: 48.69 kB / 0.7922 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.0128, allocations: 302.9 kB / 0.7925 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.01282, allocations: 9.875 kB / 0.7925 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.01284, allocations: 8 kB / 0.7925 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.01309, allocations: 97.62 kB / 0.7926 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.0131, allocations: 3.938 kB / 0.7926 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.01312, allocations: 7.984 kB / 0.7926 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.01313, allocations: 2.5 kB / 0.7926 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.01331, allocations: 55.88 kB / 0.7926 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009945/0.01431, allocations: 499.5 kB / 0.7931 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.01465, allocations: 123.2 kB / 0.7932 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.01477, allocations: 44.28 kB / 0.7933 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.01479, allocations: 8 kB / 0.7933 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.01504, allocations: 113.6 kB / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.01505, allocations: 0 / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005742/0.01562, allocations: 209.4 kB / 0.7936 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.01568, allocations: 55.34 kB / 0.7937 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.01669, allocations: 0.5352 MB / 0.7942 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.01671, allocations: 25.7 kB / 0.7942 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.01696, allocations: 255.2 kB / 0.7944 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.01702, allocations: 43.69 kB / 0.7945 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.01718, allocations: 85.38 kB / 0.7946 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003658/0.01755, allocations: 0.5509 MB / 0.7951 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.01772, allocations: 68.53 kB / 0.7952 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.01795, allocations: 120.1 kB / 0.7953 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.01829, allocations: 148.6 kB / 0.7954 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.0183, allocations: 3.984 kB / 0.7954 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005757/0.01887, allocations: 280.5 kB / 0.7957 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01889, allocations: 6.344 kB / 0.7957 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.0189, allocations: 0 / 0.7957 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.01892, allocations: 7.984 kB / 0.7957 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.01917, allocations: 47.91 kB / 0.7958 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.01918, allocations: 10.09 kB / 0.7958 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01932, allocations: 15.92 kB / 0.7958 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.01936, allocations: 12 kB / 0.7958 GB, free: 2.926 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.01956, allocations: 188.5 kB / 0.796 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.01964, allocations: 40.3 kB / 0.796 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.02012, allocations: 192.5 kB / 0.7962 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.02012, allocations: 0 / 0.7962 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.02013, allocations: 4.469 kB / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02013, allocations: 1.594 kB / 0.7962 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.02054, allocations: 292.5 kB / 0.7965 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02054, allocations: 0 / 0.7965 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.02063, allocations: 15.98 kB / 0.7965 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02063, allocations: 0 / 0.7965 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.02064, allocations: 4.531 kB / 0.7965 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.02065, allocations: 5.312 kB / 0.7965 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.02065, allocations: 3.984 kB / 0.7965 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.02111, allocations: 228 kB / 0.7967 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.0212, allocations: 39.7 kB / 0.7968 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.02124, allocations: 5.156 kB / 0.7968 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.02134, allocations: 7.984 kB / 0.7968 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.02142, allocations: 23.97 kB / 0.7968 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.02145, allocations: 12.84 kB / 0.7968 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004025/0.02185, allocations: 319.1 kB / 0.7971 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02185, allocations: 4.844 kB / 0.7971 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000314/0.02216, allocations: 59.92 kB / 0.7972 GB, free: 1.441 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002979/0.02514, allocations: 450 kB / 0.7976 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.02558, allocations: 167.5 kB / 0.7978 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.02558, allocations: 0 / 0.7978 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.02575, allocations: 71.59 kB / 0.7978 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.02629, allocations: 106.5 kB / 0.7979 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.02726, allocations: 0.4892 MB / 0.7984 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.02748, allocations: 181.8 kB / 0.7986 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.02762, allocations: 53.09 kB / 0.7986 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02773, allocations: 41.02 kB / 0.7987 GB, free: 56 kB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.02773, allocations: 4 kB / 0.7987 GB, free: 52 kB / 0.7448 GB Notification: Performance of Templates: time 0.01094/0.03867, allocations: 4.51 MB / 0.8031 GB, free: 11.62 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.20353797194548]