Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008616, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009865/0.0009866, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.312 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.607/2.607, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003903, allocations: 8.219 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7763, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001297/0.7776, allocations: 1.215 MB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.7786, allocations: 0.7074 MB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.7786, allocations: 1.344 kB / 0.9563 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.7787, allocations: 3.938 kB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.7787, allocations: 13.17 kB / 0.9563 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.7791, allocations: 97.7 kB / 0.9564 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.7793, allocations: 73.83 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.7793, allocations: 25.27 kB / 0.9565 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.7794, allocations: 30.45 kB / 0.9565 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.7795, allocations: 39.09 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.7795, allocations: 4.219 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.7797, allocations: 81.36 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.7797, allocations: 19.03 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.7797, allocations: 39.14 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.7799, allocations: 104.4 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7799, allocations: 5.125 kB / 0.9568 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7799, allocations: 0 / 0.9568 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.7799, allocations: 0 / 0.9568 GB, free: 5.84 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.0005322/0.7804, allocations: 452.4 kB / 0.9572 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.7805, allocations: 8.938 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.7805, allocations: 12.17 kB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.7806, allocations: 175.5 kB / 0.9574 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.7806, allocations: 6.344 kB / 0.9574 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7807, allocations: 8.016 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.7808, allocations: 75.94 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.7808, allocations: 3.938 kB / 0.9575 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7809, allocations: 0 / 0.9575 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7809, allocations: 1.375 kB / 0.9575 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.781, allocations: 54.17 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.7815, allocations: 316.9 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.7816, allocations: 73.58 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.7817, allocations: 33.19 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.7817, allocations: 1.469 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.7819, allocations: 97.72 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.782, allocations: 0 / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003991/0.7824, allocations: 167.2 kB / 0.9582 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.7824, allocations: 58.2 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.7825, allocations: 135 kB / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.7825, allocations: 31.11 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.7826, allocations: 91.36 kB / 0.9585 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.7826, allocations: 22.38 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.7826, allocations: 9.25 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.7827, allocations: 324.9 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.7827, allocations: 24.02 kB / 0.9589 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.7828, allocations: 69.72 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.7829, allocations: 35.52 kB / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7829, allocations: 1.5 kB / 0.959 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002068/0.7831, allocations: 130.7 kB / 0.9591 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7831, allocations: 6.125 kB / 0.9591 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7832, allocations: 4.125 kB / 0.9591 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7832, allocations: 7.734 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7833, allocations: 18.58 kB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.7833, allocations: 10.97 kB / 0.9592 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.7834, allocations: 13.22 kB / 0.9592 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.7834, allocations: 8.109 kB / 0.9592 GB, free: 3.625 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.853e-05/0.7835, allocations: 128.7 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.7835, allocations: 10.59 kB / 0.9593 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.7838, allocations: 149.2 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7838, allocations: 13.34 kB / 0.9595 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7838, allocations: 1.375 kB / 0.9595 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7838, allocations: 0 / 0.9595 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.7843, allocations: 433.2 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7843, allocations: 1.375 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.7844, allocations: 8.25 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7844, allocations: 5.328 kB / 0.9599 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7844, allocations: 5.359 kB / 0.9599 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7844, allocations: 0 / 0.9599 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7844, allocations: 5.375 kB / 0.9599 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.7846, allocations: 226.5 kB / 0.9601 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.7847, allocations: 87.67 kB / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.7847, allocations: 13.31 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.7848, allocations: 8.25 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.7849, allocations: 20.09 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.7849, allocations: 4 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.7849, allocations: 94.48 kB / 0.9603 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7849, allocations: 0 / 0.9603 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003194/0.7853, allocations: 39.47 kB / 0.9604 GB, free: 2.59 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002954/0.7856, allocations: 173.5 kB / 0.9606 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.7858, allocations: 96.86 kB / 0.9606 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7858, allocations: 0 / 0.9606 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.7859, allocations: 50.28 kB / 0.9607 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7862, allocations: 20.45 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.7866, allocations: 226.1 kB / 0.9609 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7867, allocations: 0.6969 MB / 0.9616 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.7868, allocations: 10.3 kB / 0.9616 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.7869, allocations: 16.97 kB / 0.9616 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7869, allocations: 0 / 0.9616 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.004414/0.7913, allocations: 1.621 MB / 0.9632 GB, free: 0.6445 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches