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.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.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.001084/0.001084, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.001008/0.001008, allocations: 192.2 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 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.08 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6507, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002571/0.6533, allocations: 1.534 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.6545, allocations: 0.7595 MB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.6546, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.6547, allocations: 7.922 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.6548, allocations: 11.81 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.6553, allocations: 127.6 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.6555, allocations: 107.6 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.6556, allocations: 16 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.6557, allocations: 35.91 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.6558, allocations: 47.81 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.6558, allocations: 8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.656, allocations: 99.84 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.6561, allocations: 19.92 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.6561, allocations: 43.78 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.6564, allocations: 163.3 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6564, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6564, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6564, allocations: 4 kB / 1.211 GB, free: 10.67 MB / 0.9356 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.0007565/0.6572, allocations: 494.1 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6572, allocations: 8.031 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.6573, allocations: 8.844 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.6574, allocations: 182.5 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.6575, allocations: 4.375 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.6575, allocations: 4.375 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6577, allocations: 89.89 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6577, allocations: 3.984 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.6577, allocations: 4 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6577, allocations: 4 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.6579, allocations: 47.95 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.6585, allocations: 336.6 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.6587, allocations: 90.64 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.6588, allocations: 40.84 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.6588, allocations: 0 / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.659, allocations: 103.3 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.532e-06/0.6591, allocations: 0 / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004073/0.6595, allocations: 177.5 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6595, allocations: 55.41 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6596, allocations: 134.1 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.6596, allocations: 29.7 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.6597, allocations: 96.03 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.6597, allocations: 27.64 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.6598, allocations: 37.7 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.6599, allocations: 330.8 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.66, allocations: 27.98 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.6601, allocations: 71.8 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6603, allocations: 109 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6603, allocations: 3.984 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002449/0.6605, allocations: 129.4 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6605, allocations: 8 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6606, allocations: 0 / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6606, allocations: 4 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.6607, allocations: 24.08 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6607, allocations: 3.938 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6608, allocations: 15.89 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.6608, allocations: 4.141 kB / 1.214 GB, free: 7.742 MB / 0.9356 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.0001053/0.6609, allocations: 133.8 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.661, allocations: 7.906 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.6613, allocations: 170.2 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.6613, allocations: 0 / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6613, allocations: 4 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.6614, allocations: 85.02 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.6614, allocations: 3.984 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.6615, allocations: 15.94 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.6616, allocations: 7.984 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003442/0.6619, allocations: 228.7 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003249/0.6622, allocations: 322.6 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.87e-05/0.6623, allocations: 47.97 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.6624, allocations: 103.3 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of Backend: time 6.51e-07/0.6624, allocations: 0 / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.663, allocations: 198 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005184/0.6636, allocations: 0.6495 MB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.005253/0.6688, allocations: 1.905 MB / 1.217 GB, free: 3.785 MB / 0.9356 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/jenkins1/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