Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009961/0.0009959, allocations: 183.5 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008902, allocations: 88.27 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.211e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8455/1.083, allocations: 134.1 MB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.083, allocations: 83.56 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009652/1.093, allocations: 3.14 MB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/1.093, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.093, allocations: 8 kB / 1.019 GB, free: 0.9805 MB / 0.6355 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.0006896/1.094, allocations: 461.3 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.094, allocations: 8.031 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/1.094, allocations: 7.906 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/1.094, allocations: 167 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/1.094, allocations: 15.59 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/1.094, allocations: 8 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/1.094, allocations: 25.56 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/1.094, allocations: 64.28 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.094, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.094, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.094, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/1.095, allocations: 311.2 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/1.095, allocations: 52.52 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/1.095, allocations: 30.22 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/1.095, allocations: 7.922 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/1.095, allocations: 85.66 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.095, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003554/1.096, allocations: 110 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.096, allocations: 55.41 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.096, allocations: 116.7 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/1.096, allocations: 25.7 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/1.096, allocations: 87.5 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/1.096, allocations: 25.89 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.096, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.096, allocations: 321.9 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/1.096, allocations: 22.48 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/1.096, allocations: 54.72 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/1.097, allocations: 26.86 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.097, allocations: 8.031 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001649/1.097, allocations: 108.8 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.097, allocations: 8 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.097, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.097, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.097, allocations: 15.92 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.097, allocations: 7.984 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/1.097, allocations: 16.11 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.097, allocations: 4 kB / 1.022 GB, free: 14.69 MB / 0.6511 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete 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 9.544e-05/1.097, allocations: 118.3 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/1.097, allocations: 11.89 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/1.097, allocations: 130.9 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.097, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.098, allocations: 4 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.098, allocations: 4 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/1.098, allocations: 382.7 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.098, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/1.098, allocations: 15.97 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.098, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.098, allocations: 6.938 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.098, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.098, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/1.098, allocations: 215.2 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/1.098, allocations: 85.02 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/1.099, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/1.099, allocations: 11.98 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/1.099, allocations: 11.17 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.099, allocations: 11.98 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.781e-05/1.099, allocations: 94.03 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000337/1.099, allocations: 47.92 kB / 1.023 GB, free: 13.56 MB / 0.6511 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * 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.000422/1.1, allocations: 176.1 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001827/1.1, allocations: 73.5 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.1, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/1.1, allocations: 37.38 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/1.1, allocations: 8.203 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/1.1, allocations: 126.6 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/1.101, allocations: 0.7043 MB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.587e-05/1.101, allocations: 4.438 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/1.101, allocations: 15.42 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.101, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of Templates: time 0.004712/1.106, allocations: 1.779 MB / 1.025 GB, free: 10.66 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches