Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 99.34 kB / 16.02 MB, free: 76 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.000929/0.000929, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6642, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00151/0.6658, allocations: 1.24 MB / 0.9569 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6669, allocations: 0.7481 MB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.667, allocations: 0 / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.667, allocations: 5.125 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.6671, allocations: 8.984 kB / 0.9576 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.6675, allocations: 115.6 kB / 0.9578 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.6677, allocations: 78.12 kB / 0.9578 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.6677, allocations: 17.38 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.6678, allocations: 39.25 kB / 0.9579 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.6679, allocations: 39.42 kB / 0.9579 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.6679, allocations: 3.75 kB / 0.9579 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.6681, allocations: 94.31 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.6681, allocations: 11.05 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.6682, allocations: 63.97 kB / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.6684, allocations: 106.1 kB / 0.9582 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6684, allocations: 0 / 0.9582 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6684, allocations: 1.125 kB / 0.9582 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6684, allocations: 0 / 0.9582 GB, free: 5.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006307/0.669, allocations: 466.8 kB / 0.9586 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6691, allocations: 9.281 kB / 0.9586 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.6691, allocations: 10.34 kB / 0.9587 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.6692, allocations: 184.1 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.6693, allocations: 43.7 kB / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.6693, allocations: 8.047 kB / 0.9589 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.6696, allocations: 77.03 kB / 0.959 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6696, allocations: 7.922 kB / 0.959 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6696, allocations: 5.812 kB / 0.959 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6696, allocations: 0 / 0.959 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.6698, allocations: 50.28 kB / 0.959 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.6703, allocations: 329.8 kB / 0.9593 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.6705, allocations: 65.98 kB / 0.9594 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.6706, allocations: 47.25 kB / 0.9594 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6706, allocations: 1.531 kB / 0.9594 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.6709, allocations: 103.9 kB / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.6709, allocations: 0 / 0.9595 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004995/0.6714, allocations: 177.6 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.6714, allocations: 54.03 kB / 0.9598 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.6715, allocations: 133.7 kB / 0.9599 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.6716, allocations: 32.02 kB / 0.9599 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.6716, allocations: 90.89 kB / 0.96 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.6716, allocations: 24.3 kB / 0.96 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.6717, allocations: 25.92 kB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.6717, allocations: 324.9 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6718, allocations: 34.3 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.672, allocations: 72.44 kB / 0.9605 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.6722, allocations: 116 kB / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6722, allocations: 0 / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002914/0.6725, allocations: 139 kB / 0.9607 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6725, allocations: 5.688 kB / 0.9607 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6725, allocations: 5.828 kB / 0.9607 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6726, allocations: 2.125 kB / 0.9607 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.6727, allocations: 16.64 kB / 0.9607 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6727, allocations: 2.094 kB / 0.9607 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.6728, allocations: 30.14 kB / 0.9608 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.6728, allocations: 8.875 kB / 0.9608 GB, free: 3.418 MB / 0.7169 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.456e-05/0.6729, allocations: 127.9 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.6729, allocations: 11.84 kB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.673, allocations: 10.56 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.673, allocations: 1.094 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.673, allocations: 1.094 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.673, allocations: 0 / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.6736, allocations: 431.7 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6736, allocations: 1.375 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.6737, allocations: 14.8 kB / 0.9613 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6737, allocations: 5.375 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6737, allocations: 1.375 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6737, allocations: 3.938 kB / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6737, allocations: 0 / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.674, allocations: 232 kB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.674, allocations: 87.77 kB / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.6741, allocations: 5.375 kB / 0.9617 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.6742, allocations: 16.17 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6743, allocations: 8.109 kB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.6743, allocations: 12.2 kB / 0.9617 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.6744, allocations: 105.4 kB / 0.9618 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6744, allocations: 1.375 kB / 0.9618 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003212/0.6747, allocations: 42.16 kB / 0.9618 GB, free: 2.461 MB / 0.7169 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003145/0.675, allocations: 168 kB / 0.962 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.6753, allocations: 99.59 kB / 0.9621 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6753, allocations: 0 / 0.9621 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6755, allocations: 50.16 kB / 0.9621 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6758, allocations: 20.3 kB / 0.9622 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.6762, allocations: 257.6 kB / 0.9624 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.6764, allocations: 0.6923 MB / 0.9631 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.6764, allocations: 16.58 kB / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6764, allocations: 0 / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.00347/0.6799, allocations: 1.849 MB / 0.9649 GB, free: 392 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches