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.001062/0.001062, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.277 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.318/2.318, allocations: 390.9 MB / 0.667 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 8.188 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6424, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001571/0.6441, allocations: 1.242 MB / 0.9569 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.6453, allocations: 0.7364 MB / 0.9576 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.6453, allocations: 5.375 kB / 0.9576 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.6454, allocations: 7.922 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.6455, allocations: 9.438 kB / 0.9577 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.6459, allocations: 109.8 kB / 0.9578 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.646, allocations: 94.97 kB / 0.9578 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.6461, allocations: 14.59 kB / 0.9579 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.598e-05/0.6462, allocations: 48.84 kB / 0.9579 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.6463, allocations: 48.73 kB / 0.958 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.6464, allocations: 4.531 kB / 0.958 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.6465, allocations: 86.34 kB / 0.958 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.6466, allocations: 20 kB / 0.9581 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.6466, allocations: 64.73 kB / 0.9581 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.6468, allocations: 111.6 kB / 0.9582 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6468, allocations: 0 / 0.9582 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6468, allocations: 0 / 0.9582 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6468, allocations: 0 / 0.9582 GB, free: 5.793 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.0006101/0.6475, allocations: 485.8 kB / 0.9587 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6475, allocations: 13.09 kB / 0.9587 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.6475, allocations: 14.25 kB / 0.9587 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6477, allocations: 177.6 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.6477, allocations: 2.219 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.6477, allocations: 13.73 kB / 0.9589 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.6479, allocations: 85.33 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6479, allocations: 0 / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.6479, allocations: 2.125 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.648, allocations: 3.938 kB / 0.959 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.6481, allocations: 54.81 kB / 0.959 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.6486, allocations: 335.7 kB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.6488, allocations: 92.88 kB / 0.9595 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.6489, allocations: 49.38 kB / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.649, allocations: 0 / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.6492, allocations: 100.8 kB / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.6492, allocations: 0 / 0.9596 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004366/0.6497, allocations: 186.3 kB / 0.9598 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.6497, allocations: 57.97 kB / 0.9598 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.6498, allocations: 128 kB / 0.9599 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6498, allocations: 31.61 kB / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.6499, allocations: 99.34 kB / 0.9601 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.6499, allocations: 26.94 kB / 0.9601 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6499, allocations: 22.36 kB / 0.9601 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.65, allocations: 326.3 kB / 0.9604 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.6501, allocations: 34.45 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.6502, allocations: 73.31 kB / 0.9605 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.6504, allocations: 115.7 kB / 0.9606 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6504, allocations: 3.938 kB / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002334/0.6506, allocations: 140.2 kB / 0.9608 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6506, allocations: 5.5 kB / 0.9608 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6506, allocations: 5.469 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6507, allocations: 2.75 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.6508, allocations: 16.36 kB / 0.9608 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6508, allocations: 5.359 kB / 0.9608 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.6509, allocations: 15 kB / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6509, allocations: 4.125 kB / 0.9608 GB, free: 3.395 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.873e-05/0.651, allocations: 135.2 kB / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.651, allocations: 9.406 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.6513, allocations: 166.9 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6514, allocations: 1.375 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6514, allocations: 1.375 kB / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6514, allocations: 0 / 0.9611 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.6519, allocations: 462 kB / 0.9616 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6519, allocations: 0 / 0.9616 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.652, allocations: 14.94 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.652, allocations: 3.984 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.652, allocations: 1.375 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.652, allocations: 5.359 kB / 0.9616 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.652, allocations: 7.938 kB / 0.9616 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.6523, allocations: 242.9 kB / 0.9618 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.6524, allocations: 87.67 kB / 0.9619 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.6524, allocations: 5.375 kB / 0.9619 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6525, allocations: 12.23 kB / 0.9619 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.6526, allocations: 25.36 kB / 0.962 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.6526, allocations: 6.734 kB / 0.962 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.6526, allocations: 97.02 kB / 0.9621 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6527, allocations: 0 / 0.9621 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003266/0.653, allocations: 49.44 kB / 0.9621 GB, free: 2.312 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.0003435/0.6533, allocations: 172 kB / 0.9623 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.6536, allocations: 94.23 kB / 0.9624 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6536, allocations: 0 / 0.9624 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6537, allocations: 62.06 kB / 0.9624 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.6541, allocations: 19.52 kB / 0.9624 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.6545, allocations: 277.1 kB / 0.9627 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.6547, allocations: 0.7024 MB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.6547, allocations: 13.34 kB / 0.9634 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of SimCode: time 3.8e-07/0.6547, allocations: 0 / 0.9634 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.0038/0.6585, allocations: 1.912 MB / 0.9653 GB, free: 180 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/jenkins1/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