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.00129/0.00129, allocations: 109.6 kB / 16.41 MB, free: 6.406 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.001291/0.001291, allocations: 190.1 kB / 17.34 MB, free: 5.695 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8599, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002412/0.8624, allocations: 1.524 MB / 1.09 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.8636, allocations: 0.7427 MB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.8637, allocations: 0.9375 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.8637, allocations: 9.281 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.8638, allocations: 24.3 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.8644, allocations: 128.6 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.8645, allocations: 101.4 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.8646, allocations: 8.125 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.8647, allocations: 43.73 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.8648, allocations: 53.36 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.8649, allocations: 16.19 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.8651, allocations: 91.7 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.8651, allocations: 25.62 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.8652, allocations: 39.88 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.8654, allocations: 162.6 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8655, allocations: 1.156 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8655, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.8655, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8575 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.0006443/0.8661, allocations: 498.9 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.8662, allocations: 10.22 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.8662, allocations: 10.09 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.8663, allocations: 181.5 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.8663, allocations: 7.922 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.8664, allocations: 4.719 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.8666, allocations: 84.72 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8666, allocations: 0 / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.8666, allocations: 4.781 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8666, allocations: 4.938 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.8668, allocations: 52.31 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.8673, allocations: 338.8 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.8676, allocations: 82.52 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.8677, allocations: 44.3 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.8677, allocations: 0.8125 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.868, allocations: 105.3 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.868, allocations: 0 / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004601/0.8685, allocations: 179.6 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.8685, allocations: 63.34 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.8686, allocations: 130 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.8686, allocations: 27.41 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.8687, allocations: 92.31 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.8687, allocations: 30.56 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.8688, allocations: 31.86 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.8688, allocations: 329.1 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.8689, allocations: 28.73 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.869, allocations: 72.22 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.8692, allocations: 114.3 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8692, allocations: 0.75 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002704/0.8695, allocations: 134.9 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.8695, allocations: 5.969 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8695, allocations: 1.5 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8695, allocations: 2.797 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8697, allocations: 19.36 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.8697, allocations: 6.875 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.8698, allocations: 14.06 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.8698, allocations: 5.344 kB / 1.094 GB, free: 1.684 MB / 0.8575 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.401e-05/0.8699, allocations: 124.5 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.8699, allocations: 9.172 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.8703, allocations: 168.2 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8703, allocations: 2.688 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8703, allocations: 0 / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8703, allocations: 5.875 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.8709, allocations: 450.9 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8709, allocations: 0.7031 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.871, allocations: 12.06 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.871, allocations: 0.6562 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.871, allocations: 7.891 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.871, allocations: 3.938 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.871, allocations: 4.719 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.8714, allocations: 238.8 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.8714, allocations: 88.81 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.8714, allocations: 5.5 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.8715, allocations: 12.31 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.8716, allocations: 13.5 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.8716, allocations: 5.453 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.8717, allocations: 105 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8717, allocations: 0 / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003713/0.8721, allocations: 47.11 kB / 1.095 GB, free: 0.7109 MB / 0.8575 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.0003595/0.8724, allocations: 168.5 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.8727, allocations: 99.14 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8727, allocations: 0 / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.8729, allocations: 53.77 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8732, allocations: 15.58 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.8737, allocations: 244.9 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.8739, allocations: 0.6995 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.874, allocations: 15.7 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.874, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.00502/0.879, allocations: 1.94 MB / 1.098 GB, free: 15.44 MB / 0.8731 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