Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.0009673/0.0009673, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 0.9515 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.66/0.6612, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002253/0.6635, allocations: 1.502 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.6646, allocations: 0.7569 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.6647, allocations: 3.938 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.6647, allocations: 6.328 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.6648, allocations: 15.16 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.6653, allocations: 130.1 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.6654, allocations: 85.03 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.6655, allocations: 12.23 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.6656, allocations: 36.58 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.6656, allocations: 42.05 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.6657, allocations: 10.28 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.6659, allocations: 99.22 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.6659, allocations: 15.89 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.666, allocations: 33.47 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.6662, allocations: 158.3 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6662, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6662, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6662, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 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.0006081/0.6668, allocations: 458.9 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6669, allocations: 9.391 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.6669, allocations: 9.312 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.667, allocations: 179 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.667, allocations: 3.156 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.6671, allocations: 4.922 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.6672, allocations: 80.12 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6673, allocations: 0.75 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6673, allocations: 4.766 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6673, allocations: 4.75 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.6674, allocations: 42.17 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.6679, allocations: 315.5 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.668, allocations: 67.2 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.6681, allocations: 40.67 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.6681, allocations: 1.188 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.6683, allocations: 97.12 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.6683, allocations: 0 / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000401/0.6688, allocations: 157.1 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.6688, allocations: 58.09 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.6689, allocations: 131.7 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6689, allocations: 31.2 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.6689, allocations: 96.45 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.669, allocations: 21 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.669, allocations: 31.69 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.6691, allocations: 324.5 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.6691, allocations: 31.77 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.6692, allocations: 69.62 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6694, allocations: 99.56 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6694, allocations: 4.875 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002335/0.6696, allocations: 129.9 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6697, allocations: 6.359 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6697, allocations: 1.5 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6697, allocations: 2.188 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6698, allocations: 19.27 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6698, allocations: 2.828 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.6699, allocations: 16.86 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.67, allocations: 5.594 kB / 1.094 GB, free: 1.57 MB / 0.8575 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 6.792e-05/0.67, allocations: 125 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.6701, allocations: 7.469 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.6704, allocations: 150.2 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.6704, allocations: 1.578 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6704, allocations: 0.7969 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.6704, allocations: 88.59 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.6705, allocations: 6.578 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.6705, allocations: 11.11 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.6706, allocations: 12.73 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003093/0.6709, allocations: 226.5 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002615/0.6712, allocations: 303.2 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.415e-05/0.6713, allocations: 45.22 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.6713, allocations: 95.58 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of Backend: time 2.3e-07/0.6713, allocations: 0 / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.672, allocations: 197.6 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004276/0.6724, allocations: 0.6381 MB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of Templates: time 0.004956/0.6774, allocations: 1.809 MB / 1.097 GB, free: 15.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches