Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008442/0.008442, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001763/0.001763, allocations: 192 kB / 16.67 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.89 kB / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3116, allocations: 151.6 MB / 1.167 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002639/0.3143, allocations: 1.494 MB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3156, allocations: 0.7673 MB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3157, allocations: 0 / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.3157, allocations: 7.922 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3159, allocations: 15.81 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.3164, allocations: 127.5 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3166, allocations: 87.69 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3167, allocations: 16 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.3168, allocations: 31.91 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.3169, allocations: 43.83 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3169, allocations: 8 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3171, allocations: 99.84 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3172, allocations: 11.92 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.3172, allocations: 43.78 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3175, allocations: 143.5 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3175, allocations: 0 / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3175, allocations: 7.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3175, allocations: 4 kB / 1.169 GB, free: 4.066 MB / 0.92 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.0008203/0.3184, allocations: 466.3 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3184, allocations: 12.03 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3185, allocations: 8.891 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3186, allocations: 168.3 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3186, allocations: 4.375 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3187, allocations: 12.36 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3189, allocations: 81.89 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3189, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3189, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3189, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3191, allocations: 39.97 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3196, allocations: 332.6 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3198, allocations: 62.59 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.3198, allocations: 36.83 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3199, allocations: 4.141 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.3201, allocations: 87.36 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3201, allocations: 4 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000383/0.3205, allocations: 161.5 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3205, allocations: 55.39 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3206, allocations: 133.4 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3207, allocations: 29.7 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.3207, allocations: 92.36 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3208, allocations: 23.8 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.3208, allocations: 29.7 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3209, allocations: 330.8 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.321, allocations: 27.98 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.3211, allocations: 61.12 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3213, allocations: 101.1 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3213, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002344/0.3216, allocations: 129.5 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3216, allocations: 10.03 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3216, allocations: 4.125 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3216, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3217, allocations: 19.92 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3217, allocations: 7.984 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3219, allocations: 19.88 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.3219, allocations: 4 kB / 1.172 GB, free: 1.285 MB / 0.92 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 0.0001059/0.322, allocations: 131.8 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.322, allocations: 7.953 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.3224, allocations: 150 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3224, allocations: 3.984 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3224, allocations: 4 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3224, allocations: 4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.323, allocations: 430.3 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.323, allocations: 0 / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3231, allocations: 15.92 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3231, allocations: 4 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3231, allocations: 0 / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3231, allocations: 0 / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3231, allocations: 3.938 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3234, allocations: 235.9 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3235, allocations: 81.06 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3235, allocations: 4 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3236, allocations: 11.98 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.3237, allocations: 19.86 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3237, allocations: 7.984 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.3238, allocations: 99.27 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3238, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003199/0.3241, allocations: 39.94 kB / 1.173 GB, free: 15.95 MB / 0.9356 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 (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.0003354/0.3245, allocations: 164.2 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3247, allocations: 83.83 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3247, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3248, allocations: 43.97 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3251, allocations: 8.578 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.3256, allocations: 219.4 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3259, allocations: 0.6924 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.417e-05/0.3259, allocations: 8.438 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.326, allocations: 15.42 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of SimCode: time 1.463e-06/0.326, allocations: 4 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.004674/0.3306, allocations: 1.805 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches