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.001478/0.001478, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001625/0.001625, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241.1 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.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6778, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002236/0.6801, allocations: 1.522 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.6812, allocations: 0.7446 MB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.6813, allocations: 0.75 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.6813, allocations: 5.531 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.6814, allocations: 25.05 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.682, allocations: 127.5 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.6821, allocations: 100.8 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.6822, allocations: 8.344 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.6823, allocations: 43.61 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.6824, allocations: 49.22 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.6825, allocations: 12.5 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.6827, allocations: 99.36 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.6827, allocations: 21.95 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.6828, allocations: 43.28 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.6831, allocations: 161.3 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6831, allocations: 1.156 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6831, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6831, allocations: 3.938 kB / 1.091 GB, free: 3.652 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.0006489/0.6837, allocations: 0.4884 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6838, allocations: 8.375 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.6838, allocations: 10.95 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.6839, allocations: 183 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.684, allocations: 3.422 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.684, allocations: 8.5 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.6842, allocations: 80.3 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6842, allocations: 0.9375 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.6843, allocations: 5.125 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6843, allocations: 9.594 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.6844, allocations: 55.19 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.685, allocations: 334.7 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.6852, allocations: 87.36 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.6853, allocations: 47.69 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6854, allocations: 0.9062 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.6856, allocations: 100.6 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.6856, allocations: 0.5938 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004233/0.686, allocations: 179.6 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.686, allocations: 58.8 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.6861, allocations: 132.8 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.6862, allocations: 27.58 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.6862, allocations: 92.56 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.6862, allocations: 34.12 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.6863, allocations: 32.48 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.6863, allocations: 327.7 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.6864, allocations: 29.17 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/0.6865, allocations: 69.11 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6867, allocations: 107.2 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6867, allocations: 0.7812 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002465/0.6869, allocations: 138.7 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.687, allocations: 6.328 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.687, allocations: 5.406 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.687, allocations: 2.344 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.6871, allocations: 15.72 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6871, allocations: 2.828 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.6872, allocations: 21.23 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6873, allocations: 5.141 kB / 1.094 GB, free: 1.43 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 6.971e-05/0.6873, allocations: 130 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.6874, allocations: 8 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.6877, allocations: 161.2 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6877, allocations: 0.6094 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6877, allocations: 0.875 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.6878, allocations: 92.06 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.6878, allocations: 2.797 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.6879, allocations: 11.95 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.6879, allocations: 13.3 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003404/0.6883, allocations: 229.6 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003336/0.6886, allocations: 322.3 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000112/0.6888, allocations: 48.36 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.6888, allocations: 107.9 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of Backend: time 3.91e-07/0.6888, allocations: 4.625 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.6895, allocations: 192.1 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004571/0.69, allocations: 0.6427 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.005081/0.6951, allocations: 1.906 MB / 1.098 GB, free: 15.69 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/jenkins1/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