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.001142/0.001142, allocations: 108 kB / 15.6 MB, free: 132 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.00145/0.001451, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.409/2.409, allocations: 390.2 MB / 0.6646 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7507, allocations: 140.3 MB / 0.9496 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.0025/0.7532, allocations: 1.531 MB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.7545, allocations: 0.7459 MB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.7545, allocations: 4 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.7546, allocations: 8.906 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.008e-05/0.7547, allocations: 18 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.7552, allocations: 127.7 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.7554, allocations: 99.7 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7555, allocations: 18.22 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.7556, allocations: 49.56 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.7557, allocations: 44.25 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.7557, allocations: 9.375 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.7559, allocations: 95.8 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.756, allocations: 26.89 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.756, allocations: 38.83 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.7562, allocations: 152.7 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7563, allocations: 0 / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7563, allocations: 5 kB / 0.9525 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7563, allocations: 0 / 0.9525 GB, free: 7 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.0007108/0.757, allocations: 0.4916 MB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.757, allocations: 8.938 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.7571, allocations: 17.92 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.7572, allocations: 177.4 kB / 0.9531 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.7573, allocations: 2.969 kB / 0.9531 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7573, allocations: 12.47 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7575, allocations: 84.67 kB / 0.9532 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.7575, allocations: 4 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.7575, allocations: 7.938 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7575, allocations: 0.875 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.7577, allocations: 54.64 kB / 0.9533 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.7582, allocations: 325.6 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.7585, allocations: 90.89 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.7586, allocations: 42.23 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.7586, allocations: 5.109 kB / 0.9537 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.7589, allocations: 91.86 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.7589, allocations: 4 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004407/0.7593, allocations: 180.1 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7594, allocations: 52.81 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.7595, allocations: 137.1 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7595, allocations: 32.17 kB / 0.9542 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.7595, allocations: 95 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.7596, allocations: 24.06 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.7596, allocations: 30.98 kB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.7597, allocations: 329.4 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.7598, allocations: 28.92 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.7599, allocations: 69.44 kB / 0.9548 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.76, allocations: 117 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7601, allocations: 0 / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002397/0.7603, allocations: 132.2 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7603, allocations: 9.422 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7603, allocations: 0.875 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7604, allocations: 6.219 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.7605, allocations: 16.45 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7605, allocations: 2.094 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.7606, allocations: 14.19 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.7606, allocations: 9.016 kB / 0.9551 GB, free: 4.582 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 8.178e-05/0.7607, allocations: 128.3 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.7607, allocations: 7.781 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.7611, allocations: 164.5 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7611, allocations: 5.281 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7611, allocations: 3.938 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7611, allocations: 0 / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.7616, allocations: 451.7 kB / 0.9558 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7616, allocations: 0 / 0.9558 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.7617, allocations: 17.52 kB / 0.9558 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7617, allocations: 7.938 kB / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.7617, allocations: 2.406 kB / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7617, allocations: 0 / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7617, allocations: 5.156 kB / 0.9558 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.7621, allocations: 238.7 kB / 0.956 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.7621, allocations: 88.44 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.7621, allocations: 13.11 kB / 0.9561 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7622, allocations: 8.438 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.7623, allocations: 17.08 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.7623, allocations: 8.109 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.7624, allocations: 101.6 kB / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7624, allocations: 0 / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003499/0.7627, allocations: 45.59 kB / 0.9563 GB, free: 3.504 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.0003506/0.7631, allocations: 164.2 kB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.7634, allocations: 95 kB / 0.9566 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7634, allocations: 1.094 kB / 0.9566 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.7635, allocations: 52.45 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.7638, allocations: 24.53 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.7643, allocations: 214 kB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.7645, allocations: 0.706 MB / 0.9575 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.45e-05/0.7645, allocations: 15.69 kB / 0.9575 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.7646, allocations: 16.84 kB / 0.9576 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7646, allocations: 0 / 0.9576 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.004792/0.7694, allocations: 1.956 MB / 0.9595 GB, free: 1.402 MB / 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