Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reinhart2003Light,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.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_10_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.001564/0.001564, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001728, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.646/2.646, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6587, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002489/0.6612, allocations: 1.54 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.6624, allocations: 0.771 MB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.6624, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.6625, allocations: 11.86 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-05/0.6626, allocations: 23.8 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.6631, allocations: 131.6 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.6632, allocations: 95.73 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.6633, allocations: 15.98 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.6634, allocations: 39.81 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.6635, allocations: 55.77 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.6635, allocations: 8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.6637, allocations: 99.84 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.6637, allocations: 23.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.6638, allocations: 35.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.664, allocations: 161.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.664, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.664, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.664, allocations: 0 / 1.02 GB, free: 15.51 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.000707/0.6647, allocations: 0.5001 MB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.6648, allocations: 12.03 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.6648, allocations: 8.844 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.665, allocations: 193.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.665, allocations: 384 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.665, allocations: 8.312 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.6652, allocations: 89.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6652, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.6652, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6652, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.6654, allocations: 47.95 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.6659, allocations: 328.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.6661, allocations: 86.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.6662, allocations: 32.84 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.6662, allocations: 11.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.6665, allocations: 99.23 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.6665, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004057/0.6669, allocations: 185.4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.6669, allocations: 59.33 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.667, allocations: 139.2 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.6671, allocations: 29.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.6671, allocations: 100 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6671, allocations: 23.66 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.6672, allocations: 37.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.6673, allocations: 322.8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.6674, allocations: 31.98 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.6675, allocations: 67.38 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.6677, allocations: 113 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6677, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002358/0.6679, allocations: 137.4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6679, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.668, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.668, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6681, allocations: 15.98 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6681, allocations: 8.094 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.6682, allocations: 11.89 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.6682, allocations: 8 kB / 1.023 GB, free: 12.55 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 9.06e-05/0.6683, allocations: 133.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.6684, allocations: 7.906 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.6687, allocations: 174.5 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6687, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6688, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6688, allocations: 7.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.6693, allocations: 462.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6694, allocations: 3.938 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.6694, allocations: 19.92 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6695, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6695, allocations: 8 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6695, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6695, allocations: 3.938 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.6698, allocations: 247.4 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.6699, allocations: 96.84 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6699, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.67, allocations: 7.984 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.6701, allocations: 23.92 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.6701, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.6702, allocations: 109 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6702, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003066/0.6705, allocations: 40 kB / 1.024 GB, free: 11.12 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 (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.0003008/0.6708, allocations: 168.1 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.671, allocations: 95.89 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6711, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.6712, allocations: 63.91 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.6715, allocations: 19.84 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.672, allocations: 232 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6722, allocations: 0.7041 MB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.6723, allocations: 8.844 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.6723, allocations: 15.42 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6723, allocations: 0 / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.004749/0.6771, allocations: 2.005 MB / 1.027 GB, free: 7.789 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches