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.009727/0.009727, allocations: 102.3 kB / 15.73 MB, free: 6.066 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.002127/0.002127, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.255/2.255, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8768, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002781/0.8796, allocations: 1.526 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.881, allocations: 0.7506 MB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.881, allocations: 1.062 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.8811, allocations: 9.141 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.8812, allocations: 11.94 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.8818, allocations: 136.6 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.882, allocations: 101.4 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8821, allocations: 11.77 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.8822, allocations: 39.64 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.8823, allocations: 53.73 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.8823, allocations: 7.344 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.8826, allocations: 95.64 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.8826, allocations: 17.98 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.8827, allocations: 51.5 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.883, allocations: 158.6 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8831, allocations: 0.7031 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8831, allocations: 0 / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8831, allocations: 1.062 kB / 1.091 GB, free: 3.648 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.0007302/0.8838, allocations: 498.1 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8839, allocations: 9.312 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.8839, allocations: 18.28 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.884, allocations: 175.1 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.8841, allocations: 12.05 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.8841, allocations: 8.594 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.8843, allocations: 84.11 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8843, allocations: 0.7031 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.8844, allocations: 4.719 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8844, allocations: 1.562 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.8845, allocations: 47.66 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.8851, allocations: 343.7 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.8853, allocations: 78.72 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.8854, allocations: 39 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.8855, allocations: 6.281 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.8857, allocations: 103.9 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.8858, allocations: 1.031 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004414/0.8862, allocations: 178.5 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.8862, allocations: 54.8 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.8863, allocations: 133.7 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.8864, allocations: 31.2 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.8864, allocations: 97.5 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.8865, allocations: 33.67 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.8865, allocations: 32.39 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.8866, allocations: 324.3 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.8867, allocations: 29.12 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.8868, allocations: 77.8 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.8869, allocations: 102.7 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.887, allocations: 0.6562 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002724/0.8872, allocations: 138.4 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8873, allocations: 5.875 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8873, allocations: 1.5 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8873, allocations: 2.828 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.8874, allocations: 19 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8874, allocations: 3.406 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.8875, allocations: 17.41 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.8876, allocations: 9.25 kB / 1.093 GB, free: 1.422 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 8.484e-05/0.8877, allocations: 124.9 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.8877, allocations: 8.719 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.888, allocations: 165.4 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.888, allocations: 5.375 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8881, allocations: 0.7188 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8881, allocations: 1.312 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.8886, allocations: 457.3 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8886, allocations: 0 / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.8887, allocations: 11.66 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8887, allocations: 0.8438 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.8887, allocations: 10.62 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.8888, allocations: 10.42 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8888, allocations: 0 / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.8891, allocations: 250 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.8891, allocations: 84.73 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.8891, allocations: 5.625 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.8893, allocations: 11.62 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.8893, allocations: 10.69 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.8893, allocations: 4.453 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.8894, allocations: 103 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8894, allocations: 0.9688 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003516/0.8898, allocations: 42.92 kB / 1.095 GB, free: 460 kB / 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.0003154/0.8901, allocations: 163.7 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.8904, allocations: 91.98 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8904, allocations: 3.938 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.8905, allocations: 60.53 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.8908, allocations: 20.53 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.8913, allocations: 223.9 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.8916, allocations: 0.6954 MB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.285e-05/0.8917, allocations: 13.3 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.8917, allocations: 15.41 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8917, allocations: 0 / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.006344/0.8981, allocations: 1.955 MB / 1.098 GB, free: 15.22 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/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