Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005027/0.005027, allocations: 102.8 kB / 15.74 MB, free: 6.066 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.001158/0.001158, allocations: 187.9 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8366, allocations: 159.1 MB / 1.221 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003096/0.8397, allocations: 1.553 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.8415, allocations: 0.776 MB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.8416, allocations: 4 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.8416, allocations: 7.875 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.8417, allocations: 19.78 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.8424, allocations: 127.6 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.8426, allocations: 99.64 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8427, allocations: 11.98 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.8429, allocations: 43.91 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.843, allocations: 51.69 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.843, allocations: 8 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.8432, allocations: 91.92 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.8433, allocations: 31.89 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.8433, allocations: 39.8 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.8436, allocations: 167.9 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8437, allocations: 0 / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8437, allocations: 0 / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8437, allocations: 4 kB / 1.224 GB, free: 15.11 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.0008998/0.8446, allocations: 0.496 MB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8446, allocations: 16.61 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.8447, allocations: 12.84 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.8448, allocations: 184.2 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.8449, allocations: 4.375 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.8449, allocations: 4.375 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.8451, allocations: 93.88 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8451, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.8451, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8451, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.8453, allocations: 47.97 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/0.846, allocations: 332.6 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.8462, allocations: 82.66 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.8463, allocations: 32.84 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.8463, allocations: 3.984 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.8466, allocations: 95.36 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.664e-06/0.8466, allocations: 4.094 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004678/0.8471, allocations: 177.4 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.8471, allocations: 55.41 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.8473, allocations: 143.9 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.8473, allocations: 29.7 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.8474, allocations: 100.1 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.8474, allocations: 23.8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.8475, allocations: 33.7 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8476, allocations: 330.8 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.8477, allocations: 27.98 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.8478, allocations: 75.88 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.848, allocations: 105 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.848, allocations: 4 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002685/0.8483, allocations: 137.4 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.8483, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8483, allocations: 4 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8483, allocations: 4.094 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.8485, allocations: 15.98 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8485, allocations: 7.938 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.8486, allocations: 19.92 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.8486, allocations: 4 kB / 1.226 GB, free: 12.17 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.0001125/0.8487, allocations: 126.3 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.8487, allocations: 15.95 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.8491, allocations: 180.2 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.8491, allocations: 4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8491, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8491, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.8498, allocations: 458.3 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8498, allocations: 0 / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.8499, allocations: 11.98 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8499, allocations: 4 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.8499, allocations: 8 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8499, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8499, allocations: 3.938 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.8502, allocations: 247.4 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.8503, allocations: 92.98 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.8503, allocations: 4 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.8505, allocations: 19.86 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.8505, allocations: 15.92 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.8505, allocations: 8.141 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.8506, allocations: 109.5 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.8506, allocations: 0 / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003514/0.8509, allocations: 43.92 kB / 1.227 GB, free: 10.73 MB / 0.9512 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 (14): * Single equations (assignments): 11 * 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.0003682/0.8513, allocations: 171.5 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.8516, allocations: 87.89 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8516, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.8517, allocations: 47.91 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.852, allocations: 22.17 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.8526, allocations: 247.6 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.8528, allocations: 0.704 MB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.2e-05/0.8529, allocations: 8.547 kB / 1.229 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.8529, allocations: 15.44 kB / 1.229 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.8529, allocations: 7.938 kB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of Templates: time 0.005556/0.8585, allocations: 2.015 MB / 1.231 GB, free: 7.391 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches