Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008968, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005599, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8592, allocations: 142.4 MB / 0.9544 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001007/0.8603, allocations: 440.7 kB / 0.9548 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.8624, allocations: 1.468 MB / 0.9563 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.8625, allocations: 1.469 kB / 0.9563 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.8626, allocations: 7.938 kB / 0.9563 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.8628, allocations: 18.06 kB / 0.9563 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.8633, allocations: 124.5 kB / 0.9564 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.8635, allocations: 99.7 kB / 0.9565 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.8636, allocations: 15.05 kB / 0.9565 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.8637, allocations: 50.95 kB / 0.9566 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.8639, allocations: 43.95 kB / 0.9566 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.8639, allocations: 4.188 kB / 0.9566 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.8641, allocations: 71.47 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.8641, allocations: 11.86 kB / 0.9567 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.8642, allocations: 41.95 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.8644, allocations: 146.7 kB / 0.9569 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8644, allocations: 3.938 kB / 0.9569 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8644, allocations: 0 / 0.9569 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8644, allocations: 1.062 kB / 0.9569 GB, free: 6.004 MB / 0.7169 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.0006274/0.8651, allocations: 409.6 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8651, allocations: 9.25 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.8652, allocations: 12.45 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.8653, allocations: 183 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.8654, allocations: 34.98 kB / 0.9575 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.8654, allocations: 8.844 kB / 0.9575 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.8656, allocations: 95.19 kB / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8656, allocations: 0 / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.8656, allocations: 5.344 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8656, allocations: 1.312 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.8657, allocations: 49.27 kB / 0.9577 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.8663, allocations: 0.5195 MB / 0.9582 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.8667, allocations: 138.3 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.8668, allocations: 45.16 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.8668, allocations: 6.156 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.867, allocations: 117.5 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.8671, allocations: 0 / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003314/0.8674, allocations: 145.7 kB / 0.9586 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.8675, allocations: 109.8 kB / 0.9587 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.8676, allocations: 133.3 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8676, allocations: 32.3 kB / 0.9589 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.8676, allocations: 90.86 kB / 0.959 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.8677, allocations: 27.45 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.8677, allocations: 1.594 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.8678, allocations: 316.7 kB / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.8679, allocations: 37.67 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.8679, allocations: 43.31 kB / 0.9594 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.868, allocations: 42.22 kB / 0.9594 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.868, allocations: 0 / 0.9594 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002435/0.8683, allocations: 127.8 kB / 0.9595 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.8683, allocations: 8.484 kB / 0.9595 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8683, allocations: 1.125 kB / 0.9595 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8684, allocations: 5.203 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.8685, allocations: 22.02 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.8685, allocations: 1.344 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.8686, allocations: 18.31 kB / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.8686, allocations: 11.89 kB / 0.9596 GB, free: 3.43 MB / 0.7169 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.41e-05/0.8687, allocations: 114.9 kB / 0.9597 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.8687, allocations: 12.16 kB / 0.9597 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.869, allocations: 122.4 kB / 0.9598 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.869, allocations: 5.25 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.869, allocations: 1.312 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.869, allocations: 5.375 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.8692, allocations: 218 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8692, allocations: 0 / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.8693, allocations: 24.2 kB / 0.9601 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8693, allocations: 1.844 kB / 0.9601 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.8694, allocations: 5.875 kB / 0.9601 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.8694, allocations: 5.859 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8694, allocations: 0 / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.8697, allocations: 171.3 kB / 0.9602 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.8697, allocations: 98.47 kB / 0.9603 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.8698, allocations: 7.266 kB / 0.9603 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.8699, allocations: 9 kB / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.8699, allocations: 22.75 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.87, allocations: 4.125 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.87, allocations: 101 kB / 0.9605 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.87, allocations: 0 / 0.9605 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003578/0.8704, allocations: 63.7 kB / 0.9605 GB, free: 2.578 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.8707, allocations: 156.3 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.871, allocations: 101.6 kB / 0.9608 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.871, allocations: 0 / 0.9608 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8711, allocations: 58.22 kB / 0.9608 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.8714, allocations: 11.33 kB / 0.9608 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.8719, allocations: 267.8 kB / 0.9611 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.8721, allocations: 0.7049 MB / 0.9618 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.565e-05/0.8722, allocations: 16.8 kB / 0.9618 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.8723, allocations: 22.3 kB / 0.9618 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8723, allocations: 0 / 0.9618 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.006356/0.8787, allocations: 1.585 MB / 0.9634 GB, free: 0.6016 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches