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.00116/0.00116, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.009661/0.009661, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 9.219 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001824/0.3712, allocations: 1.244 MB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3725, allocations: 0.7556 MB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.3726, allocations: 0 / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.3726, allocations: 3.938 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3728, allocations: 19.84 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.3734, allocations: 107.8 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3735, allocations: 87.7 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3737, allocations: 16 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3738, allocations: 39.83 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.3739, allocations: 43.83 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.374, allocations: 4 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.3742, allocations: 87.91 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.3743, allocations: 19.91 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.3744, allocations: 61.5 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.3747, allocations: 159.8 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3747, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3747, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3747, allocations: 4 kB / 1.061 GB, free: 2.793 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.0007315/0.3754, allocations: 484.3 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3755, allocations: 12.03 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3756, allocations: 12.83 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3757, allocations: 180.2 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3757, allocations: 12.38 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3758, allocations: 4.375 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.376, allocations: 85.89 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.376, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.376, allocations: 4 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.376, allocations: 0 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3762, allocations: 51.97 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.3768, allocations: 344.6 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.377, allocations: 82.66 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3771, allocations: 44.84 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3771, allocations: 4 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3774, allocations: 103.3 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/0.3774, allocations: 4.031 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005422/0.3779, allocations: 189.4 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.378, allocations: 55.41 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3781, allocations: 132.9 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3781, allocations: 25.7 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.3782, allocations: 100 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3782, allocations: 27.64 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3783, allocations: 21.72 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3784, allocations: 330.8 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.3785, allocations: 27.98 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3786, allocations: 77.06 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3788, allocations: 109.1 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3788, allocations: 0 / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002879/0.3791, allocations: 145.5 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3791, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3791, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3792, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3793, allocations: 19.98 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3793, allocations: 7.938 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3794, allocations: 23.83 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3794, allocations: 7.938 kB / 1.064 GB, free: 15.83 MB / 0.8262 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.0001237/0.3795, allocations: 134.2 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.3796, allocations: 7.906 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.3799, allocations: 162.3 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3799, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3799, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.38, allocations: 3.984 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.3807, allocations: 458.3 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3807, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.3808, allocations: 15.98 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3808, allocations: 4 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3808, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3808, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3808, allocations: 3.938 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3811, allocations: 243.4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.3812, allocations: 92.94 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.3812, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3813, allocations: 16 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.3814, allocations: 23.84 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3814, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.3815, allocations: 105.8 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003314/0.3819, allocations: 47.92 kB / 1.065 GB, free: 14.43 MB / 0.8262 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.0003946/0.3823, allocations: 164.9 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.3825, allocations: 95.89 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3825, allocations: 3.938 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3827, allocations: 51.92 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3831, allocations: 20.17 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.3836, allocations: 251.3 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3839, allocations: 0.7005 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.3839, allocations: 8.422 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.384, allocations: 19.44 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of SimCode: time 1.533e-06/0.384, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.004877/0.3889, allocations: 1.814 MB / 1.068 GB, free: 11.27 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