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.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.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.001437/0.001437, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.001368/0.001368, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.07 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.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.677, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002192/0.6792, allocations: 1.531 MB / 1.09 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.6803, allocations: 0.7534 MB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.6803, allocations: 0 / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.6804, allocations: 10.55 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.6805, allocations: 11.2 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.6809, allocations: 134.8 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.6811, allocations: 87.86 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.6812, allocations: 16.31 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.6812, allocations: 34.09 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.6813, allocations: 42.14 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.6813, allocations: 6.562 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.6815, allocations: 99.2 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.6816, allocations: 25.12 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.6816, allocations: 38.42 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.6819, allocations: 158.4 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6819, allocations: 0.5625 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6819, allocations: 0.625 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6819, allocations: 0 / 1.091 GB, free: 3.926 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.0006493/0.6826, allocations: 476.7 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6826, allocations: 9.938 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.6827, allocations: 10.34 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.6827, allocations: 175.5 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.6828, allocations: 36.91 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6828, allocations: 4.641 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.683, allocations: 83.56 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.683, allocations: 0 / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6831, allocations: 1.188 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6831, allocations: 5.859 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.6833, allocations: 51.8 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.6837, allocations: 320.1 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.6839, allocations: 74.61 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6841, allocations: 39.59 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6841, allocations: 1.672 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.6843, allocations: 95.94 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.6843, allocations: 0 / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000471/0.6848, allocations: 171 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.6848, allocations: 57.66 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.6849, allocations: 138.3 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.6849, allocations: 30.58 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.685, allocations: 89.92 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.685, allocations: 25.59 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.685, allocations: 35.44 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.6851, allocations: 331.7 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6852, allocations: 27.61 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6853, allocations: 70.05 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.6855, allocations: 109.2 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6856, allocations: 0.7188 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002912/0.6858, allocations: 136.4 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6859, allocations: 6.078 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6859, allocations: 2.156 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6859, allocations: 2.375 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.686, allocations: 19.3 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.686, allocations: 3.016 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.6862, allocations: 26.2 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6862, allocations: 5.969 kB / 1.094 GB, free: 1.746 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.74e-05/0.6863, allocations: 132.8 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.6863, allocations: 8.984 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.6863, allocations: 11.83 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6863, allocations: 0.5156 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6863, allocations: 1.438 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.6864, allocations: 87.77 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.6864, allocations: 2.375 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6865, allocations: 17.73 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.6866, allocations: 13.58 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003795/0.6869, allocations: 213.5 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003156/0.6873, allocations: 305.2 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001256/0.6874, allocations: 48.62 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.6875, allocations: 100.1 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of Backend: time 3.61e-07/0.6875, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006431/0.6881, allocations: 198 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004093/0.6885, allocations: 0.631 MB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of Templates: time 0.004978/0.6935, allocations: 1.937 MB / 1.098 GB, free: 112 kB / 0.8575 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