Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001782/0.001782, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002497/0.002497, allocations: 161.6 kB / 23.54 MB, free: 0.8906 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.876/2.876, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.4e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004522/0.004566, allocations: 1.979 MB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.007574, allocations: 1.277 MB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.007796, allocations: 8.594 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.008414, allocations: 164.4 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006948/0.009109, allocations: 216.8 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.009656, allocations: 167.5 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006562/0.01031, allocations: 344.2 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.01049, allocations: 32.92 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.01101, allocations: 187.5 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.01133, allocations: 144.8 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.01138, allocations: 16 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.01156, allocations: 59.84 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01171, allocations: 97.05 kB / 0.8154 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.01185, allocations: 67.72 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.01252, allocations: 378.7 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.01253, allocations: 5.484 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01253, allocations: 0 / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.01254, allocations: 0 / 0.8158 GB, free: 12.98 MB / 0.7761 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.001358/0.0139, allocations: 0.5676 MB / 0.8164 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.01395, allocations: 12.03 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.0141, allocations: 44.7 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.0148, allocations: 332.7 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.01483, allocations: 8.125 kB / 0.8167 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.01486, allocations: 17.81 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.01518, allocations: 117.5 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.0152, allocations: 0 / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.01521, allocations: 0 / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01522, allocations: 4 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.01543, allocations: 66.05 kB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.01641, allocations: 420.2 kB / 0.8173 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.01682, allocations: 131.2 kB / 0.8175 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.01697, allocations: 45.36 kB / 0.8175 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.017, allocations: 12.66 kB / 0.8175 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.01729, allocations: 115.9 kB / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.01729, allocations: 0 / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0006831/0.01797, allocations: 234.4 kB / 0.8178 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.01803, allocations: 63.34 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.01878, allocations: 0.5327 MB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.01881, allocations: 30.23 kB / 0.8185 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.019, allocations: 177.4 kB / 0.8186 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.01905, allocations: 39.73 kB / 0.8187 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.01918, allocations: 65.97 kB / 0.8187 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.01939, allocations: 351.5 kB / 0.8191 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.01963, allocations: 101.6 kB / 0.8192 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.01992, allocations: 140.8 kB / 0.8193 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.02032, allocations: 187.2 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02032, allocations: 1.469 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007073/0.02103, allocations: 346.2 kB / 0.8198 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.02105, allocations: 9.062 kB / 0.8198 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.02106, allocations: 0 / 0.8198 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.02108, allocations: 0 / 0.8198 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.02134, allocations: 61.91 kB / 0.8199 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.02135, allocations: 3.938 kB / 0.8199 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.02151, allocations: 19.92 kB / 0.8199 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.02155, allocations: 8 kB / 0.8199 GB, free: 8.613 MB / 0.7761 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.000227/0.02178, allocations: 184.8 kB / 0.8201 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.02187, allocations: 43.77 kB / 0.8201 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.02239, allocations: 208.7 kB / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.0224, allocations: 4 kB / 0.8203 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.0224, allocations: 4.438 kB / 0.8203 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02241, allocations: 0 / 0.8203 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.02272, allocations: 230.2 kB / 0.8205 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02272, allocations: 0 / 0.8205 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.02282, allocations: 13.62 kB / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02282, allocations: 0 / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.02284, allocations: 11.92 kB / 0.8206 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02284, allocations: 0 / 0.8206 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02284, allocations: 0 / 0.8206 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.02332, allocations: 235.4 kB / 0.8208 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.02341, allocations: 45.09 kB / 0.8208 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.02346, allocations: 4 kB / 0.8208 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.02356, allocations: 8 kB / 0.8209 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.02365, allocations: 16.62 kB / 0.8209 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.02367, allocations: 15.92 kB / 0.8209 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004431/0.02412, allocations: 323.8 kB / 0.8212 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02412, allocations: 0 / 0.8212 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003411/0.02446, allocations: 60.59 kB / 0.8212 GB, free: 7.176 MB / 0.7761 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.002094/0.02655, allocations: 465 kB / 0.8217 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.02705, allocations: 191.8 kB / 0.8219 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02705, allocations: 0.5625 kB / 0.8219 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.02722, allocations: 61.53 kB / 0.8219 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.02776, allocations: 109.4 kB / 0.822 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.02902, allocations: 0.5697 MB / 0.8226 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.02924, allocations: 187.8 kB / 0.8228 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000183/0.02942, allocations: 62.94 kB / 0.8228 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.02955, allocations: 40.48 kB / 0.8229 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of SimCode: time 9.51e-07/0.02955, allocations: 0 / 0.8229 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of Templates: time 0.01062/0.04018, allocations: 4.512 MB / 0.8273 GB, free: 1.238 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.197457172907889]