Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001618/0.001618, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 68.05 kB / 0.8984 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3447, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003057/0.3478, allocations: 1.599 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3494, allocations: 0.7711 MB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.3495, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.3495, allocations: 3.984 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3496, allocations: 11.88 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.3503, allocations: 107.8 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3504, allocations: 95.64 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3505, allocations: 19.98 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3506, allocations: 35.91 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.3507, allocations: 43.81 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3508, allocations: 4 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.351, allocations: 91.84 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.351, allocations: 19.92 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.3511, allocations: 35.8 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3513, allocations: 159.8 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3514, allocations: 0 / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3514, allocations: 7.938 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3514, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 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.0008296/0.3522, allocations: 496.2 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3523, allocations: 8.031 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.3523, allocations: 8.844 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3525, allocations: 186.2 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3525, allocations: 8.359 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3525, allocations: 4.375 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3528, allocations: 89.95 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3528, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3528, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3528, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.353, allocations: 55.91 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.3536, allocations: 328.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3539, allocations: 86.69 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.354, allocations: 36.84 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.354, allocations: 8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3543, allocations: 103.2 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.3543, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004671/0.3548, allocations: 173.4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3548, allocations: 59.39 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.355, allocations: 130.1 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.355, allocations: 29.7 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.3551, allocations: 92.14 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3551, allocations: 31.55 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.3552, allocations: 37.7 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3553, allocations: 318.8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3554, allocations: 35.97 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3555, allocations: 67.53 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3557, allocations: 113 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3557, allocations: 0 / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/0.356, allocations: 137.4 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.356, allocations: 9.406 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.356, allocations: 8.031 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3561, allocations: 7.938 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3562, allocations: 15.98 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3562, allocations: 0 / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3563, allocations: 19.92 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3563, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 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 0.0001101/0.3565, allocations: 127.2 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3565, allocations: 7.906 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3568, allocations: 166.3 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3569, allocations: 0 / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.3569, allocations: 4 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3569, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.3576, allocations: 450.3 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3576, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.3577, allocations: 15.98 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3577, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.3577, allocations: 4 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3577, allocations: 7.922 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3577, allocations: 3.938 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.3581, allocations: 242.5 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3581, allocations: 92.86 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.3582, allocations: 8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3583, allocations: 7.984 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.3584, allocations: 15.92 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3584, allocations: 8 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.3585, allocations: 95.27 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3585, allocations: 0 / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003407/0.3588, allocations: 43.98 kB / 1.059 GB, free: 1.582 MB / 0.8106 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.0003677/0.3592, allocations: 170.4 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.3595, allocations: 91.89 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3595, allocations: 3.938 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3596, allocations: 59.91 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3599, allocations: 21.3 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.3605, allocations: 229.8 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3608, allocations: 0.7005 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.3609, allocations: 12.41 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.3609, allocations: 15.44 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.361, allocations: 0 / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of Templates: time 0.005044/0.366, allocations: 1.842 MB / 1.062 GB, free: 14.42 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches