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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001437/0.001437, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001644/0.001644, allocations: 193.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.2 MB / 0.6643 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 67.91 kB / 0.812 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7549, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002046/0.757, allocations: 0.7834 MB / 0.9499 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.7588, allocations: 1.51 MB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.7589, allocations: 0 / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.759, allocations: 9.172 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.7592, allocations: 18.27 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.7597, allocations: 139.2 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.7598, allocations: 118.9 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.76, allocations: 18.23 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.7601, allocations: 51.33 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.7602, allocations: 56.22 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.7603, allocations: 9.875 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.7605, allocations: 84.44 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.7605, allocations: 23.72 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.7606, allocations: 44.52 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.761, allocations: 197.4 kB / 0.9521 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.761, allocations: 3.938 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.761, allocations: 3.938 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.761, allocations: 0 / 0.9521 GB, free: 6.871 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.0006961/0.7617, allocations: 427 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7617, allocations: 10.06 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.7618, allocations: 9.062 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.762, allocations: 176.8 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.762, allocations: 35.42 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.7621, allocations: 9.484 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.7623, allocations: 112 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7623, allocations: 0 / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.7623, allocations: 5.562 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.7624, allocations: 1.625 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.7625, allocations: 49.31 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.7631, allocations: 0.5221 MB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.7637, allocations: 134.4 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.7637, allocations: 46.34 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7638, allocations: 1.188 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.764, allocations: 119.4 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.764, allocations: 0 / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003377/0.7644, allocations: 145.8 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.7644, allocations: 105.2 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.7645, allocations: 126 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.7646, allocations: 32.2 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.7646, allocations: 90.98 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.7647, allocations: 34.98 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.7647, allocations: 38.02 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.7648, allocations: 320.1 kB / 0.9545 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.7649, allocations: 38.19 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.765, allocations: 35.36 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.7651, allocations: 75.11 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7652, allocations: 0 / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002482/0.7654, allocations: 132 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7654, allocations: 8.969 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7654, allocations: 0 / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7655, allocations: 1.375 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.7656, allocations: 26.73 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7656, allocations: 3.984 kB / 0.9548 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.7657, allocations: 9.625 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.7657, allocations: 11.33 kB / 0.9549 GB, free: 4.238 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 (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 9.146e-05/0.7658, allocations: 120.1 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.7659, allocations: 11.91 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.7661, allocations: 122.2 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7661, allocations: 2.656 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7661, allocations: 0 / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.7661, allocations: 1.312 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.7663, allocations: 226.2 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7663, allocations: 4 kB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7664, allocations: 23.55 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7664, allocations: 1.312 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.7665, allocations: 2.125 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7665, allocations: 9.312 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7665, allocations: 1.5 kB / 0.9554 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.7667, allocations: 179.8 kB / 0.9555 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.7668, allocations: 100.3 kB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.7668, allocations: 5.375 kB / 0.9556 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.7669, allocations: 8.203 kB / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.767, allocations: 18.98 kB / 0.9557 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.767, allocations: 2.969 kB / 0.9557 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.7671, allocations: 102.2 kB / 0.9558 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7671, allocations: 0.75 kB / 0.9558 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003324/0.7674, allocations: 59.17 kB / 0.9558 GB, free: 3.379 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 (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.0002513/0.7677, allocations: 158.6 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.7679, allocations: 102.1 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.768, allocations: 0 / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.7681, allocations: 55.12 kB / 0.9561 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.7683, allocations: 8.844 kB / 0.9561 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.7688, allocations: 270 kB / 0.9564 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.7689, allocations: 0.7004 MB / 0.9571 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.769, allocations: 21.17 kB / 0.9571 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.7691, allocations: 14.59 kB / 0.9571 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7691, allocations: 0 / 0.9571 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.004503/0.7736, allocations: 1.707 MB / 0.9588 GB, free: 1.344 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