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.007811/0.007811, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001858/0.001858, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.58 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3377, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003101/0.3409, allocations: 1.505 MB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3425, allocations: 0.7608 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.3426, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.3426, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.3428, allocations: 23.84 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.3435, allocations: 123.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3436, allocations: 87.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3437, allocations: 19.95 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3438, allocations: 35.91 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.3439, allocations: 43.77 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.344, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.3442, allocations: 95.91 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.3442, allocations: 19.92 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.3443, allocations: 39.84 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.3446, allocations: 147.4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3446, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3446, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3446, allocations: 0 / 1.091 GB, free: 14.62 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.0007843/0.3454, allocations: 470.3 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3455, allocations: 12.03 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3455, allocations: 8.891 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3457, allocations: 177.6 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3457, allocations: 384 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3457, allocations: 8.375 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3459, allocations: 73.91 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3459, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.346, allocations: 7.984 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.346, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3461, allocations: 39.97 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.3467, allocations: 320.7 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3469, allocations: 70.47 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.347, allocations: 36.84 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.347, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.3473, allocations: 91.41 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3473, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004085/0.3477, allocations: 153.6 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3477, allocations: 59.34 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3479, allocations: 136 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3479, allocations: 29.7 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3479, allocations: 92.38 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.348, allocations: 23.84 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.348, allocations: 29.7 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3482, allocations: 322.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.3482, allocations: 27.91 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.3484, allocations: 69.14 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3485, allocations: 97.06 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3485, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002505/0.3488, allocations: 137.4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3488, allocations: 5.562 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3488, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3489, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.349, allocations: 19.98 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.349, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3491, allocations: 15.92 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3491, allocations: 8.125 kB / 1.093 GB, free: 11.84 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 9.675e-05/0.3492, allocations: 131.4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.3493, allocations: 11.94 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.3496, allocations: 142 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3496, allocations: 384 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3496, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3496, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.3502, allocations: 434.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3502, allocations: 3.938 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.3503, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3503, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3503, allocations: 7.984 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3503, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3503, allocations: 7.875 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3506, allocations: 235.5 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.3507, allocations: 81.06 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3507, allocations: 8 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3508, allocations: 7.984 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.3509, allocations: 11.92 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3509, allocations: 8 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.351, allocations: 95.27 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.351, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003394/0.3513, allocations: 47.92 kB / 1.094 GB, free: 10.51 MB / 0.8575 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.0003656/0.3517, allocations: 163.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.352, allocations: 84.02 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.352, allocations: 4.062 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3521, allocations: 43.98 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.3524, allocations: 26.22 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.3529, allocations: 203.6 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3532, allocations: 0.6968 MB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.3532, allocations: 12.61 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.3533, allocations: 15.44 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3533, allocations: 0 / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.004771/0.3581, allocations: 1.801 MB / 1.097 GB, free: 7.43 MB / 0.8575 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/jenkins/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