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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001471/0.001471, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001567/0.001567, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 67.89 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7982, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002561/0.8008, allocations: 1.503 MB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.8022, allocations: 0.7567 MB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.8022, allocations: 4 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.8023, allocations: 3.938 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.8024, allocations: 23.8 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.8029, allocations: 131.6 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.8031, allocations: 95.7 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.8032, allocations: 11.98 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.8033, allocations: 43.84 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.8034, allocations: 43.83 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.8034, allocations: 8 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.8036, allocations: 103.8 kB / 1.229 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.8037, allocations: 27.89 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.8037, allocations: 43.78 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.804, allocations: 156 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.804, allocations: 0 / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.804, allocations: 0 / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.804, allocations: 0 / 1.229 GB, free: 10.56 MB / 0.9512 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.0007342/0.8048, allocations: 0.4999 MB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8048, allocations: 12.02 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.8049, allocations: 8.891 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.805, allocations: 180.3 kB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.805, allocations: 4.375 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.8051, allocations: 4.375 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.8053, allocations: 81.95 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8053, allocations: 7.938 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.8053, allocations: 4 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8053, allocations: 4 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.8055, allocations: 55.89 kB / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.806, allocations: 328.7 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.8063, allocations: 82.7 kB / 1.23 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.8064, allocations: 48.83 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.8064, allocations: 0 / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.8067, allocations: 103.2 kB / 1.231 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.8067, allocations: 0 / 1.231 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004557/0.8071, allocations: 177.5 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.8072, allocations: 55.39 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.8073, allocations: 140.3 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.8073, allocations: 29.7 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.8074, allocations: 104 kB / 1.231 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.8074, allocations: 19.86 kB / 1.231 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.8075, allocations: 37.7 kB / 1.231 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8076, allocations: 326.8 kB / 1.231 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.8077, allocations: 27.98 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.8078, allocations: 73.12 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.808, allocations: 105 kB / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.808, allocations: 4 kB / 1.232 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002665/0.8083, allocations: 141.4 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8083, allocations: 9.562 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8083, allocations: 0 / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8083, allocations: 4 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.8084, allocations: 19.98 kB / 1.232 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.8085, allocations: 0 / 1.232 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.8086, allocations: 11.94 kB / 1.232 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.8086, allocations: 12.08 kB / 1.232 GB, free: 7.602 MB / 0.9512 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.000102/0.8087, allocations: 130.2 kB / 1.232 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.8087, allocations: 7.953 kB / 1.232 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.8091, allocations: 162.3 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8091, allocations: 0 / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8091, allocations: 0 / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.8092, allocations: 92.98 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.8092, allocations: 7.938 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.8093, allocations: 19.92 kB / 1.232 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.8093, allocations: 7.984 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003602/0.8097, allocations: 224.9 kB / 1.232 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003398/0.8101, allocations: 314.7 kB / 1.233 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001631/0.8102, allocations: 59.66 kB / 1.233 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.8103, allocations: 106.4 kB / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/0.8103, allocations: 0 / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000654/0.811, allocations: 204.3 kB / 1.233 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005741/0.8116, allocations: 0.6494 MB / 1.234 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of Templates: time 0.004822/0.8164, allocations: 1.895 MB / 1.236 GB, free: 3.652 MB / 0.9512 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