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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 190.3 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.401/3.401, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00221/0.00221, allocations: 62.55 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4543, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004184/0.4584, allocations: 2.024 MB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.461, allocations: 1.224 MB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.4611, allocations: 7.875 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.4617, allocations: 155.5 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.4621, allocations: 163.4 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.4628, allocations: 229.7 kB / 1.31 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.4633, allocations: 319.1 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.4634, allocations: 32.52 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.4637, allocations: 167.4 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.464, allocations: 155.4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.4641, allocations: 20 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4642, allocations: 59.91 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.4643, allocations: 87.73 kB / 1.311 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.4645, allocations: 127.1 kB / 1.311 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.465, allocations: 362.5 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.465, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.465, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.465, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 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.001228/0.4663, allocations: 0.5684 MB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4663, allocations: 8.031 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.4664, allocations: 40.69 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.467, allocations: 312.5 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.467, allocations: 8 kB / 1.313 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.467, allocations: 8 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.4673, allocations: 107.6 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4673, allocations: 3.938 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4673, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4673, allocations: 8 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.4675, allocations: 67.86 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.4685, allocations: 455.6 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.4689, allocations: 138.6 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.469, allocations: 48.83 kB / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4691, allocations: 0 / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.4694, allocations: 111.3 kB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.4694, allocations: 0 / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.000665/0.47, allocations: 236.6 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4701, allocations: 55.41 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.4708, allocations: 0.5093 MB / 1.314 GB, free: 9.961 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.4708, allocations: 29.7 kB / 1.314 GB, free: 9.926 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.471, allocations: 160.5 kB / 1.314 GB, free: 9.762 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.471, allocations: 43.67 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4711, allocations: 69.95 kB / 1.315 GB, free: 9.641 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.4714, allocations: 346.8 kB / 1.315 GB, free: 9.293 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.4716, allocations: 104.5 kB / 1.315 GB, free: 9.191 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.4719, allocations: 136.7 kB / 1.315 GB, free: 9.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.4723, allocations: 174.5 kB / 1.315 GB, free: 8.871 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4723, allocations: 0 / 1.315 GB, free: 8.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006771/0.4729, allocations: 325.3 kB / 1.316 GB, free: 8.547 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.473, allocations: 7.938 kB / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.473, allocations: 0 / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.473, allocations: 7.984 kB / 1.316 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.4732, allocations: 47.86 kB / 1.316 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.4733, allocations: 7.984 kB / 1.316 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.4734, allocations: 15.89 kB / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.4735, allocations: 12 kB / 1.316 GB, free: 8.449 MB / 1.014 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.0002692/0.4737, allocations: 191.2 kB / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.4738, allocations: 39.7 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.4743, allocations: 188.6 kB / 1.316 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4743, allocations: 4 kB / 1.316 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4743, allocations: 4 kB / 1.316 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4743, allocations: 3.984 kB / 1.316 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.4747, allocations: 268.6 kB / 1.316 GB, free: 7.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4747, allocations: 0 / 1.316 GB, free: 7.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.4748, allocations: 15.98 kB / 1.316 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4748, allocations: 3.938 kB / 1.316 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4748, allocations: 4 kB / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4748, allocations: 0 / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4748, allocations: 0 / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.4753, allocations: 208.8 kB / 1.317 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.4754, allocations: 51.67 kB / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4754, allocations: 7.938 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.4755, allocations: 8 kB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4756, allocations: 19.97 kB / 1.317 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4756, allocations: 11.98 kB / 1.317 GB, free: 7.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004233/0.4761, allocations: 311.1 kB / 1.317 GB, free: 7.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4761, allocations: 0 / 1.317 GB, free: 7.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004086/0.4765, allocations: 59.92 kB / 1.317 GB, free: 7.008 MB / 1.014 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 (13): * Single equations (assignments): 9 * 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.001848/0.4783, allocations: 417.2 kB / 1.317 GB, free: 6.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005397/0.4789, allocations: 188 kB / 1.318 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4789, allocations: 0 / 1.318 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.479, allocations: 55.97 kB / 1.318 GB, free: 6.512 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.4796, allocations: 93.36 kB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4807, allocations: 0.5426 MB / 1.318 GB, free: 5.859 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.4812, allocations: 0.7871 MB / 1.319 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.4814, allocations: 54.94 kB / 1.319 GB, free: 4.996 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.4815, allocations: 35.42 kB / 1.319 GB, free: 4.965 MB / 1.014 GB Notification: Performance of SimCode: time 1.353e-06/0.4815, allocations: 0 / 1.319 GB, free: 4.965 MB / 1.014 GB Notification: Performance of Templates: time 0.01063/0.4921, allocations: 4.166 MB / 1.323 GB, free: 0.8359 MB / 1.014 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: 9.931218074634671]