Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.88/2.88, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 11.66 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001698/0.3491, allocations: 1.214 MB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3504, allocations: 0.7249 MB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.3505, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.3505, allocations: 3.938 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.3506, allocations: 7.875 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.3512, allocations: 103.8 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3513, allocations: 75.78 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.3514, allocations: 11.98 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3516, allocations: 35.84 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.3517, allocations: 39.83 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3517, allocations: 4 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.3519, allocations: 87.84 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3519, allocations: 15.97 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.352, allocations: 41.64 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3522, allocations: 100 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3522, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3522, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3522, allocations: 7.938 kB / 1.06 GB, free: 2.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008011/0.353, allocations: 458.5 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3531, allocations: 12.03 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.3531, allocations: 7.906 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3533, allocations: 182.8 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.3534, allocations: 41.66 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3534, allocations: 4 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3536, allocations: 77.64 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3536, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3537, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3537, allocations: 4 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3539, allocations: 59.89 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.3545, allocations: 324.7 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3547, allocations: 70.55 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3548, allocations: 48.83 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3548, allocations: 0 / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.3551, allocations: 95.39 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3551, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005097/0.3556, allocations: 173.5 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3557, allocations: 55.41 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3558, allocations: 136.5 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3558, allocations: 29.7 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3559, allocations: 100.5 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3559, allocations: 27.64 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.3559, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.356, allocations: 326.8 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3561, allocations: 27.98 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3563, allocations: 75.62 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3564, allocations: 43.91 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3564, allocations: 3.938 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002962/0.3567, allocations: 137.4 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3567, allocations: 8 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3567, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3568, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3569, allocations: 15.98 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.3569, allocations: 3.938 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.357, allocations: 24.11 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.357, allocations: 4.094 kB / 1.063 GB, free: 92 kB / 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.3572, allocations: 131.7 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3572, allocations: 11.91 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3572, allocations: 8.719 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3572, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3572, allocations: 11.94 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3573, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.358, allocations: 434.2 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.358, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.3581, allocations: 19.92 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3581, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3581, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3581, allocations: 4 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3581, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.3584, allocations: 235.3 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3586, allocations: 85.02 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3586, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3587, allocations: 19.98 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.3588, allocations: 7.984 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3588, allocations: 7.984 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.3589, allocations: 99.27 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3589, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003341/0.3592, allocations: 44 kB / 1.064 GB, free: 14.89 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003664/0.3596, allocations: 171.3 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.3599, allocations: 95.88 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3599, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3601, allocations: 51.97 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3604, allocations: 15.92 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.3609, allocations: 231.2 kB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3612, allocations: 0.6926 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.894e-05/0.3613, allocations: 16.83 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.3613, allocations: 11.44 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3613, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.005331/0.3667, allocations: 1.613 MB / 1.067 GB, free: 11.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches