Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009385/0.0009384, allocations: 91.84 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.007322/0.007322, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 11.94 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7614, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001964/0.7634, allocations: 1.246 MB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.7647, allocations: 0.7403 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.7648, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.7648, allocations: 7.922 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.7649, allocations: 11.86 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.7654, allocations: 111.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.7656, allocations: 87.77 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.7657, allocations: 11.98 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.7658, allocations: 51.77 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.7659, allocations: 35.84 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.7659, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.7661, allocations: 91.91 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.7661, allocations: 23.89 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.7662, allocations: 61.44 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.7664, allocations: 153.6 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7664, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7664, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.7664, allocations: 3.938 kB / 1.026 GB, free: 13.18 MB / 0.7794 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.0007355/0.7672, allocations: 496.2 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7672, allocations: 8.031 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.7673, allocations: 8.844 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.7674, allocations: 178.6 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.7675, allocations: 4.375 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.7675, allocations: 12.36 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.7677, allocations: 89.89 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.7677, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7677, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.7677, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.7679, allocations: 51.97 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.7685, allocations: 344.5 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.7687, allocations: 86.67 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.7688, allocations: 44.84 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7688, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.7691, allocations: 107.3 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.7691, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004418/0.7695, allocations: 185.5 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7696, allocations: 59.39 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.7697, allocations: 126.1 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.7698, allocations: 29.69 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.7698, allocations: 96.05 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.7698, allocations: 27.64 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.7699, allocations: 17.72 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.77, allocations: 326.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.7701, allocations: 35.98 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.7702, allocations: 75.03 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.7704, allocations: 113.1 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7704, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.7707, allocations: 141.4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7707, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7707, allocations: 8.094 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.7707, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7708, allocations: 19.92 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7709, allocations: 7.984 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.771, allocations: 19.84 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.771, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 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.0001/0.7711, allocations: 134.3 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.7711, allocations: 7.906 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.7715, allocations: 162.2 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7715, allocations: 7.938 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7715, allocations: 0 / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7715, allocations: 0 / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.7721, allocations: 466.3 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7721, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.7722, allocations: 15.98 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7722, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.7722, allocations: 4 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7722, allocations: 4 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7722, allocations: 3.938 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.7725, allocations: 258.9 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.7726, allocations: 81.02 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.7726, allocations: 4 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7727, allocations: 11.98 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.7728, allocations: 19.92 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.7728, allocations: 7.984 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.7729, allocations: 99.27 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7729, allocations: 0 / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003033/0.7732, allocations: 43.94 kB / 1.029 GB, free: 8.816 MB / 0.7794 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.0003495/0.7735, allocations: 160.5 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.7738, allocations: 95.89 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7738, allocations: 0 / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.7739, allocations: 55.91 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.7743, allocations: 25.36 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.7748, allocations: 253.8 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.775, allocations: 0.7043 MB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.7751, allocations: 8.438 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.7751, allocations: 15.42 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7751, allocations: 0 / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.004736/0.7799, allocations: 1.811 MB / 1.033 GB, free: 5.66 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches