Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.001873/0.001873, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.002278/0.002278, allocations: 197.2 kB / 20.08 MB, free: 3 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.531/1.531, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.88 kB / 1.057 GB, free: 2.121 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4383, allocations: 160.7 MB / 1.214 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003382/0.4417, allocations: 0.7275 MB / 1.215 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.4456, allocations: 1.537 MB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.4457, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.779e-05/0.4457, allocations: 7.875 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.446, allocations: 19.84 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.4468, allocations: 159.5 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.4471, allocations: 127.7 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4472, allocations: 8 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.4474, allocations: 51.83 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.4476, allocations: 51.77 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.4476, allocations: 12 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.448, allocations: 99.91 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.4481, allocations: 19.98 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4482, allocations: 47.78 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.4487, allocations: 203.3 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4487, allocations: 4 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4487, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4487, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 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.001181/0.4499, allocations: 426.8 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.45, allocations: 16.02 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.4501, allocations: 8.891 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4503, allocations: 180.2 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.4504, allocations: 34.27 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.4504, allocations: 8.375 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4508, allocations: 100.3 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4508, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4508, allocations: 7.938 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4508, allocations: 0 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.451, allocations: 51.97 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4522, allocations: 0.5166 MB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.453, allocations: 131.7 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.4532, allocations: 42.66 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.4532, allocations: 7.984 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.4536, allocations: 121.9 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 2.485e-06/0.4536, allocations: 0 / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0006557/0.4543, allocations: 141.5 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.4544, allocations: 106.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4546, allocations: 129.8 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.4546, allocations: 33.83 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4547, allocations: 100.2 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.4548, allocations: 31.86 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4549, allocations: 33.7 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4551, allocations: 330.7 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.4553, allocations: 31.98 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4555, allocations: 39.92 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.4558, allocations: 79.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4558, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005029/0.4563, allocations: 129.6 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4563, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4563, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4563, allocations: 4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.4566, allocations: 19.92 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4566, allocations: 4 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4568, allocations: 19.88 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4568, allocations: 7.938 kB / 1.22 GB, free: 10.85 MB / 0.9669 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.0001679/0.457, allocations: 121.8 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.457, allocations: 7.953 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.4574, allocations: 110 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4574, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4575, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4575, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.4578, allocations: 229.4 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4578, allocations: 4 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.458, allocations: 24.17 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.458, allocations: 4 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4581, allocations: 4 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.4581, allocations: 8 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4581, allocations: 0 / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.4586, allocations: 178.6 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.4587, allocations: 105.2 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.4588, allocations: 7.984 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4589, allocations: 4 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.459, allocations: 19.91 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.459, allocations: 8 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001207/0.4591, allocations: 99.02 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4591, allocations: 0 / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005034/0.4596, allocations: 63.8 kB / 1.221 GB, free: 9.762 MB / 0.9669 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.0004235/0.4601, allocations: 157.9 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.4605, allocations: 95.89 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4605, allocations: 0 / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4607, allocations: 47.92 kB / 1.221 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.4611, allocations: 17.86 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.4619, allocations: 270.6 kB / 1.221 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.4624, allocations: 0.6963 MB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.4625, allocations: 27.42 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.4625, allocations: 0 / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of Templates: time 0.007414/0.4699, allocations: 1.817 MB / 1.224 GB, free: 6.578 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.900845419149846]