Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001001/0.001001, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001231/0.001231, allocations: 181 kB / 23.36 MB, free: 1.133 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.283/2.283, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.05e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.005861/0.005881, allocations: 2.041 MB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.009771, allocations: 1.329 MB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.009874, allocations: 3.938 kB / 0.8419 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.01025, allocations: 163.3 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.01065, allocations: 215 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.01094, allocations: 175.4 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.01128, allocations: 335 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.01141, allocations: 34.89 kB / 0.8428 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007342/0.01214, allocations: 264.1 kB / 0.843 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.01232, allocations: 131.6 kB / 0.8431 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.004046/0.01636, allocations: 16 kB / 0.8432 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.01648, allocations: 59.91 kB / 0.8432 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.01657, allocations: 95.67 kB / 0.8433 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.01689, allocations: 71.7 kB / 0.8434 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.01721, allocations: 251 kB / 0.8436 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01721, allocations: 0 / 0.8436 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.41e-07/0.01721, allocations: 0 / 0.8436 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.01722, allocations: 0 / 0.8436 GB, free: 9.098 MB / 0.8073 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.0005909/0.01781, allocations: 0.5336 MB / 0.8441 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.01784, allocations: 8.625 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.01789, allocations: 24.91 kB / 0.8442 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.01819, allocations: 283.9 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.01821, allocations: 8.375 kB / 0.8445 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.01823, allocations: 11.94 kB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.01839, allocations: 101 kB / 0.8446 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.0184, allocations: 0 / 0.8446 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.01841, allocations: 8 kB / 0.8446 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01842, allocations: 4 kB / 0.8446 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.01847, allocations: 22.17 kB / 0.8446 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.01887, allocations: 257.6 kB / 0.8448 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.01902, allocations: 120.1 kB / 0.845 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.01906, allocations: 20.84 kB / 0.845 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.01907, allocations: 7.938 kB / 0.845 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.01919, allocations: 90.16 kB / 0.8451 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.01919, allocations: 0 / 0.8451 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.00321/0.0224, allocations: 113.6 kB / 0.8452 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.02243, allocations: 51.41 kB / 0.8452 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.02272, allocations: 370 kB / 0.8456 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.02274, allocations: 29.7 kB / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.02281, allocations: 133.5 kB / 0.8457 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.02284, allocations: 39.72 kB / 0.8458 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.02293, allocations: 69.89 kB / 0.8458 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.02303, allocations: 350.7 kB / 0.8462 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.02308, allocations: 35.31 kB / 0.8462 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.02315, allocations: 68.7 kB / 0.8463 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.02328, allocations: 96.09 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02328, allocations: 0 / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002018/0.02348, allocations: 153.9 kB / 0.8465 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.02349, allocations: 8 kB / 0.8465 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.0235, allocations: 0 / 0.8465 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.02351, allocations: 0 / 0.8465 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.02366, allocations: 59.97 kB / 0.8466 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.02366, allocations: 0 / 0.8466 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.02374, allocations: 15.89 kB / 0.8466 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.02376, allocations: 15.92 kB / 0.8466 GB, free: 5.852 MB / 0.8073 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 9.283e-05/0.02386, allocations: 132.6 kB / 0.8467 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.02389, allocations: 19.97 kB / 0.8467 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.02404, allocations: 104.8 kB / 0.8468 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02405, allocations: 7.984 kB / 0.8469 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02405, allocations: 4 kB / 0.8469 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02405, allocations: 0 / 0.8469 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.0242, allocations: 153.6 kB / 0.847 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.02421, allocations: 4 kB / 0.847 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.02425, allocations: 11.98 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02425, allocations: 4 kB / 0.847 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.02426, allocations: 7.938 kB / 0.847 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.02426, allocations: 0 / 0.847 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02426, allocations: 0 / 0.847 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.0244, allocations: 137.9 kB / 0.8472 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.02444, allocations: 39.75 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.02447, allocations: 7.984 kB / 0.8472 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.02452, allocations: 8 kB / 0.8472 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.02457, allocations: 19.97 kB / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.02458, allocations: 0 / 0.8472 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001305/0.02471, allocations: 144.7 kB / 0.8474 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.02471, allocations: 3.938 kB / 0.8474 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002265/0.02494, allocations: 59.89 kB / 0.8474 GB, free: 4.945 MB / 0.8073 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.004287/0.02922, allocations: 0.5165 MB / 0.8479 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.02939, allocations: 100.9 kB / 0.848 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.0294, allocations: 4 kB / 0.848 GB, free: 4.551 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.02946, allocations: 47.31 kB / 0.8481 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.02972, allocations: 89.39 kB / 0.8482 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.0303, allocations: 469.1 kB / 0.8486 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.401e-05/0.03038, allocations: 108.7 kB / 0.8487 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.03048, allocations: 46.92 kB / 0.8488 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.03065, allocations: 111.3 kB / 0.8489 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.03065, allocations: 4 kB / 0.8489 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of Templates: time 0.0072/0.03785, allocations: 4.863 MB / 0.8536 GB, free: 14.88 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282617781776935]