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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001198/0.001198, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.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.335/2.335, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.67, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003475/0.6736, allocations: 1.573 MB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.6754, allocations: 0.7582 MB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.6755, allocations: 1.125 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.6756, allocations: 0 / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.6758, allocations: 13.48 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.6765, allocations: 112.1 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.6767, allocations: 83.25 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6768, allocations: 26.19 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.6769, allocations: 44.25 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.677, allocations: 39.55 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.677, allocations: 6.312 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.6773, allocations: 95.62 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.6773, allocations: 19.48 kB / 0.9518 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.6774, allocations: 39.05 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.6776, allocations: 155.3 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6777, allocations: 0 / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6777, allocations: 1.375 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6777, allocations: 0 / 0.952 GB, free: 6.848 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.0008073/0.6785, allocations: 479.8 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6786, allocations: 9.312 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.6786, allocations: 9.906 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6788, allocations: 176.9 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.6789, allocations: 35.09 kB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.6789, allocations: 17.36 kB / 0.9527 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.6792, allocations: 79.39 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6792, allocations: 3.938 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6792, allocations: 4 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6792, allocations: 1.062 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.6794, allocations: 50.2 kB / 0.9528 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.6799, allocations: 322.5 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.6802, allocations: 72 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.6803, allocations: 37.94 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.6803, allocations: 5.141 kB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.6806, allocations: 98.34 kB / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.6806, allocations: 0 / 0.9533 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004764/0.6811, allocations: 168 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.6811, allocations: 57.69 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6812, allocations: 138.7 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.6813, allocations: 30.62 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.6813, allocations: 91.88 kB / 0.9538 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.6813, allocations: 20.09 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.6814, allocations: 30.86 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.6815, allocations: 325.2 kB / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.6816, allocations: 36.44 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.6817, allocations: 66.59 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.6819, allocations: 108.4 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6819, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002832/0.6822, allocations: 135.9 kB / 0.9545 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6822, allocations: 13.3 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6823, allocations: 1.375 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6823, allocations: 2.25 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.6824, allocations: 15.33 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6824, allocations: 6.531 kB / 0.9545 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.6825, allocations: 20.02 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6826, allocations: 3.875 kB / 0.9545 GB, free: 4.457 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 8.357e-05/0.6826, allocations: 134.6 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.6827, allocations: 8.094 kB / 0.9547 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6827, allocations: 14.14 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6827, allocations: 1.562 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6827, allocations: 3.984 kB / 0.9547 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6827, allocations: 1.094 kB / 0.9547 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.6833, allocations: 431.8 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6833, allocations: 1.312 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.6834, allocations: 13.83 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6834, allocations: 1.125 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6834, allocations: 9.203 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6834, allocations: 3.938 kB / 0.9551 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6834, allocations: 1.281 kB / 0.9551 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.6837, allocations: 226.9 kB / 0.9553 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.6838, allocations: 87.69 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.6838, allocations: 1.344 kB / 0.9554 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.6839, allocations: 13.33 kB / 0.9554 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.684, allocations: 13.83 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.684, allocations: 2.562 kB / 0.9555 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.6841, allocations: 105.6 kB / 0.9556 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6841, allocations: 0 / 0.9556 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003307/0.6844, allocations: 48.23 kB / 0.9556 GB, free: 3.484 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.000323/0.6847, allocations: 162.5 kB / 0.9558 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.6851, allocations: 96.19 kB / 0.9559 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6851, allocations: 4.062 kB / 0.9559 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.6852, allocations: 51.19 kB / 0.9559 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.6855, allocations: 10.97 kB / 0.9559 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.686, allocations: 220.1 kB / 0.9561 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.6861, allocations: 0.6918 MB / 0.9568 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.6862, allocations: 15.12 kB / 0.9568 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.6862, allocations: 12.34 kB / 0.9568 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6862, allocations: 0 / 0.9568 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.004952/0.6912, allocations: 1.723 MB / 0.9585 GB, free: 1.508 MB / 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/jenkins/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