Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.0008492, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006926/0.006926, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.2 MB / 240.3 MB, free: 5.352 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.349/2.349, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6596, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001691/0.6614, allocations: 1.238 MB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.6628, allocations: 0.7442 MB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.6629, allocations: 1.062 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.6629, allocations: 3.938 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.6631, allocations: 13.86 kB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.6636, allocations: 106.6 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.6637, allocations: 98.06 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.6638, allocations: 18.56 kB / 0.9572 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.664, allocations: 37.02 kB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.664, allocations: 49.19 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.6641, allocations: 3.938 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.6643, allocations: 90.94 kB / 0.9574 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.6643, allocations: 15.86 kB / 0.9574 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.6644, allocations: 68.28 kB / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.6646, allocations: 148.2 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6646, allocations: 4 kB / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6646, allocations: 0 / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.6646, allocations: 1.406 kB / 0.9576 GB, free: 5.738 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000657/0.6653, allocations: 485.6 kB / 0.9581 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6653, allocations: 9.219 kB / 0.9581 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.6654, allocations: 8.438 kB / 0.9581 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6655, allocations: 182.7 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.6656, allocations: 6.641 kB / 0.9583 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6656, allocations: 8.969 kB / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.6658, allocations: 89.86 kB / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6658, allocations: 0 / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.6658, allocations: 1.812 kB / 0.9584 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6659, allocations: 3.938 kB / 0.9584 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.666, allocations: 59 kB / 0.9584 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.6665, allocations: 340 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.6667, allocations: 92.02 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.6669, allocations: 40.81 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.6669, allocations: 1.375 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.6671, allocations: 101.9 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.6671, allocations: 0 / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000419/0.6676, allocations: 188.2 kB / 0.9592 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6676, allocations: 58.16 kB / 0.9592 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.6677, allocations: 129.1 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6677, allocations: 31.08 kB / 0.9594 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.6677, allocations: 90.89 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.6678, allocations: 35.66 kB / 0.9595 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.6678, allocations: 23.22 kB / 0.9595 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.6679, allocations: 325.5 kB / 0.9598 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.668, allocations: 33.84 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.6681, allocations: 67.14 kB / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.6682, allocations: 117 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6682, allocations: 0 / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002335/0.6685, allocations: 143.4 kB / 0.9602 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6685, allocations: 5.5 kB / 0.9602 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6685, allocations: 1.422 kB / 0.9602 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6685, allocations: 10.73 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6686, allocations: 16.36 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6687, allocations: 6.688 kB / 0.9602 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6688, allocations: 17.61 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6688, allocations: 8.188 kB / 0.9602 GB, free: 3.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 7.433e-05/0.6689, allocations: 124.7 kB / 0.9603 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.6689, allocations: 8.031 kB / 0.9603 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.6692, allocations: 170.9 kB / 0.9605 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6692, allocations: 6.734 kB / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6692, allocations: 0 / 0.9605 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6693, allocations: 4 kB / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.6698, allocations: 451.2 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6698, allocations: 3.938 kB / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.6699, allocations: 13.8 kB / 0.961 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6699, allocations: 5.094 kB / 0.961 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6699, allocations: 9.188 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6699, allocations: 1.125 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6699, allocations: 3.938 kB / 0.961 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.6702, allocations: 238.8 kB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.6703, allocations: 91.34 kB / 0.9613 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.6703, allocations: 6.219 kB / 0.9613 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6704, allocations: 15.3 kB / 0.9613 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.6705, allocations: 21.05 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6705, allocations: 3.969 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.6706, allocations: 98.61 kB / 0.9614 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6706, allocations: 0 / 0.9614 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003602/0.6709, allocations: 53.02 kB / 0.9615 GB, free: 2.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003758/0.6713, allocations: 149.2 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.6716, allocations: 103.1 kB / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6716, allocations: 0 / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.6717, allocations: 61.42 kB / 0.9618 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.6721, allocations: 15.86 kB / 0.9618 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.6725, allocations: 258 kB / 0.962 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.6727, allocations: 0.7024 MB / 0.9627 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.6727, allocations: 10.39 kB / 0.9627 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.6728, allocations: 13.47 kB / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6728, allocations: 0 / 0.9628 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.004701/0.6775, allocations: 1.807 MB / 0.9645 GB, free: 212 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches