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.0008145/0.0008144, allocations: 90.52 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.005006/0.005006, allocations: 171.1 kB / 16.26 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8.906 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001812/0.3495, allocations: 1.252 MB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3509, allocations: 0.7478 MB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.351, allocations: 0 / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.351, allocations: 3.938 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3511, allocations: 19.84 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.3517, allocations: 107.8 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3518, allocations: 87.77 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.3519, allocations: 15.92 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3521, allocations: 39.84 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.3522, allocations: 39.83 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3522, allocations: 8 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.3524, allocations: 91.91 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.3524, allocations: 23.89 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3525, allocations: 61.44 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.3528, allocations: 151.9 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3528, allocations: 0 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3528, allocations: 0 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3528, allocations: 0 / 1.061 GB, free: 2.82 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.0007232/0.3535, allocations: 493.3 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3536, allocations: 8.031 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.3536, allocations: 12.83 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3538, allocations: 176.2 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3538, allocations: 8.375 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3538, allocations: 4.375 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.354, allocations: 85.89 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.354, allocations: 4 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3541, allocations: 11.94 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3541, allocations: 0 / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3542, allocations: 51.95 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.3548, allocations: 340.6 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3551, allocations: 82.67 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.3552, allocations: 40.84 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3552, allocations: 3.984 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.3554, allocations: 107.4 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.704e-06/0.3554, allocations: 0 / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004413/0.3559, allocations: 181.5 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3559, allocations: 55.41 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3561, allocations: 135.8 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3561, allocations: 29.7 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3562, allocations: 96.03 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.3562, allocations: 23.66 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.3563, allocations: 29.7 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3564, allocations: 322.8 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.3565, allocations: 31.98 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3566, allocations: 71.33 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3568, allocations: 117 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3568, allocations: 0 / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002936/0.3571, allocations: 141.4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3571, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3571, allocations: 7.984 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3572, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3573, allocations: 28.02 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3573, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.3574, allocations: 19.83 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3574, allocations: 8 kB / 1.064 GB, free: 15.86 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.0001059/0.3576, allocations: 127.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.3576, allocations: 7.906 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.3579, allocations: 170.3 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.358, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.358, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.358, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.3586, allocations: 462.1 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3586, allocations: 3.984 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.3587, allocations: 12 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3587, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3587, allocations: 7.984 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3587, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3587, allocations: 7.875 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3591, allocations: 247.4 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3591, allocations: 88.89 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3592, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3593, allocations: 16.12 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3593, allocations: 15.91 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3594, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.3594, allocations: 107.2 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3594, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003248/0.3598, allocations: 40 kB / 1.065 GB, free: 14.46 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.0003639/0.3601, allocations: 157 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.3604, allocations: 99.89 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3604, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3606, allocations: 59.84 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3609, allocations: 15.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3614, allocations: 255.5 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3616, allocations: 0.6926 MB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.293e-05/0.3617, allocations: 20.36 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.3617, allocations: 15.38 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3617, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.004809/0.3666, allocations: 1.815 MB / 1.068 GB, free: 11.3 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