Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.001443/0.001443, allocations: 110.6 kB / 18.94 MB, free: 2.789 MB / 14.72 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.001921/0.001921, allocations: 218.4 kB / 22.26 MB, free: 5.219 MB / 14.72 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.357/3.357, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 74.73 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4539, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002742/0.4567, allocations: 0.7339 MB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003235/0.4599, allocations: 1.626 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.46, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.46, allocations: 11.88 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.4603, allocations: 19.84 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.4609, allocations: 170.8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.4612, allocations: 115.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.4613, allocations: 15.94 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.4615, allocations: 59.83 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4617, allocations: 51.81 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.4617, allocations: 12 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.462, allocations: 119.9 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.4621, allocations: 23.92 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.4622, allocations: 51.78 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.4627, allocations: 223.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4627, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4627, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4627, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009955/0.4637, allocations: 361.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4637, allocations: 12.02 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.4643, allocations: 28.88 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.4645, allocations: 118.4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4646, allocations: 67.97 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4646, allocations: 12.36 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.4649, allocations: 104.3 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4649, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.4649, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4649, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4651, allocations: 51.91 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.466, allocations: 492.1 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.4667, allocations: 131.7 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.4668, allocations: 50.59 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4668, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.4672, allocations: 117.9 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.4672, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005046/0.4677, allocations: 149.5 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.4678, allocations: 102.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.468, allocations: 125.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.468, allocations: 33.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4681, allocations: 92.56 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.4681, allocations: 35.73 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.4682, allocations: 33.7 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4684, allocations: 326.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4686, allocations: 31.98 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4687, allocations: 38.38 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.469, allocations: 76.78 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.469, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004004/0.4694, allocations: 140.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4694, allocations: 11.94 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4694, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.4695, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4696, allocations: 19.98 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4696, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4698, allocations: 15.89 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4698, allocations: 11.92 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001533/0.47, allocations: 122.6 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.47, allocations: 11.95 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4703, allocations: 114 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4704, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4704, allocations: 320 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4704, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.4707, allocations: 196.5 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.4707, allocations: 4 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.4708, allocations: 23.98 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4708, allocations: 4.234 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4708, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4708, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4708, allocations: 3.938 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.4712, allocations: 178.7 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.4713, allocations: 19.88 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.4714, allocations: 12 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4715, allocations: 7.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4715, allocations: 15.92 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4716, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001121/0.4717, allocations: 99.27 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4717, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003432/0.472, allocations: 71.73 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002913/0.4723, allocations: 182.8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4726, allocations: 87.91 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4726, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4727, allocations: 47.92 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4729, allocations: 14.02 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.4734, allocations: 229.5 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4738, allocations: 0.7118 MB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.387e-05/0.4738, allocations: 16.34 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.4739, allocations: 15.44 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4739, allocations: 4 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of Templates: time 0.005843/0.4797, allocations: 2.037 MB / 1.336 GB, free: 6.891 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.614136550109833]