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.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.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.0008184/0.0008182, 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.0009065/0.0009065, 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.422 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.543/2.543, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004066, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.7339, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001571/0.7355, allocations: 1.217 MB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.7367, allocations: 0.7103 MB / 0.9563 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.7367, allocations: 3.938 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.7367, allocations: 3.938 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.7369, allocations: 18.94 kB / 0.9563 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.7373, allocations: 98.02 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.7374, allocations: 81.33 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.7375, allocations: 14.12 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.7376, allocations: 44.5 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.7377, allocations: 41.7 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.7377, allocations: 4.062 kB / 0.9566 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.7379, allocations: 89.56 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.7379, allocations: 16.14 kB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.738, allocations: 36.2 kB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.7382, allocations: 106.6 kB / 0.9568 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7382, allocations: 3.984 kB / 0.9569 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7382, allocations: 0.875 kB / 0.9569 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7382, allocations: 0 / 0.9569 GB, free: 5.855 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.0006035/0.7388, allocations: 489.9 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7389, allocations: 10.22 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.7389, allocations: 12.39 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.887e-05/0.739, allocations: 175.7 kB / 0.9575 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.739, allocations: 7.344 kB / 0.9575 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.7391, allocations: 16.48 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7392, allocations: 80.31 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7393, allocations: 9.438 kB / 0.9576 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7393, allocations: 0 / 0.9576 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7393, allocations: 1.5 kB / 0.9576 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.7394, allocations: 56.95 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.7399, allocations: 337 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.7401, allocations: 88.47 kB / 0.9581 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.7402, allocations: 43.78 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.7402, allocations: 0.9688 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.7405, allocations: 97.67 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.7405, allocations: 0 / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000449/0.7409, allocations: 196 kB / 0.9584 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.741, allocations: 54 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.7411, allocations: 135.8 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7411, allocations: 31.8 kB / 0.9586 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.7412, allocations: 99.42 kB / 0.9587 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.7412, allocations: 23.88 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.7412, allocations: 0 / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.7413, allocations: 321 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.7414, allocations: 34.7 kB / 0.9591 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.7415, allocations: 71.91 kB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.7416, allocations: 39.92 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7416, allocations: 1.125 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002442/0.7418, allocations: 138.7 kB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7419, allocations: 4.812 kB / 0.9593 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7419, allocations: 9.828 kB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7419, allocations: 1.875 kB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.742, allocations: 21.55 kB / 0.9593 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.742, allocations: 1.938 kB / 0.9593 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.7421, allocations: 21.77 kB / 0.9594 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.7422, allocations: 5.156 kB / 0.9594 GB, free: 3.535 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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.122e-05/0.7422, allocations: 123.2 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.7423, allocations: 7.781 kB / 0.9595 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.7426, allocations: 163.2 kB / 0.9597 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7426, allocations: 14.67 kB / 0.9597 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7426, allocations: 0 / 0.9597 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7427, allocations: 0 / 0.9597 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.7431, allocations: 469.5 kB / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7432, allocations: 0 / 0.9601 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.7432, allocations: 17.56 kB / 0.9601 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7432, allocations: 5.312 kB / 0.9601 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.7433, allocations: 1.375 kB / 0.9601 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.7433, allocations: 5.312 kB / 0.9601 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7433, allocations: 0 / 0.9601 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.7435, allocations: 245.5 kB / 0.9604 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.7436, allocations: 87.75 kB / 0.9605 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.7436, allocations: 9.328 kB / 0.9605 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.7437, allocations: 12.23 kB / 0.9605 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.7438, allocations: 13.48 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.7438, allocations: 4.125 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.7439, allocations: 101.2 kB / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7439, allocations: 0 / 0.9606 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003153/0.7442, allocations: 52.92 kB / 0.9606 GB, free: 2.453 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 (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.0003085/0.7445, allocations: 152.4 kB / 0.9608 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.7448, allocations: 97.08 kB / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7448, allocations: 0 / 0.9609 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.7449, allocations: 58.48 kB / 0.9609 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.7452, allocations: 19.17 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.7457, allocations: 258.3 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.7458, allocations: 0.6943 MB / 0.9619 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.7459, allocations: 15.67 kB / 0.9619 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.7459, allocations: 13.59 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7459, allocations: 0 / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.004404/0.7503, allocations: 1.766 MB / 0.9636 GB, free: 444 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