Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.448/2.448, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 176.4 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 94.53 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.998e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3509, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.361, allocations: 151.5 MB / 1.36 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.361, allocations: 87.64 kB / 1.36 GB, free: 17.52 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009975/1.371, allocations: 3.182 MB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.371, allocations: 0 / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.372, allocations: 0 / 1.363 GB, free: 33.06 MB / 0.8386 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.0006529/1.372, allocations: 458.9 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.372, allocations: 13.38 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/1.372, allocations: 15.61 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/1.372, allocations: 166.8 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.372, allocations: 3.781 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/1.373, allocations: 5.562 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.373, allocations: 31.7 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/1.373, allocations: 63.16 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.373, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.373, allocations: 7.875 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.373, allocations: 3.875 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/1.373, allocations: 306.9 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.374, allocations: 56.44 kB / 1.365 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/1.374, allocations: 28.34 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/1.374, allocations: 3.672 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/1.374, allocations: 89.58 kB / 1.365 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/1.374, allocations: 4 kB / 1.365 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002685/1.374, allocations: 107.3 kB / 1.365 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/1.374, allocations: 59.2 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/1.374, allocations: 117 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.374, allocations: 25.7 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/1.374, allocations: 93.62 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/1.374, allocations: 17.34 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/1.374, allocations: 0 / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.374, allocations: 316.9 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/1.374, allocations: 25.11 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/1.375, allocations: 59.36 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/1.375, allocations: 22.44 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.375, allocations: 7.875 kB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001778/1.375, allocations: 105.3 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.375, allocations: 7.719 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.375, allocations: 0 / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.375, allocations: 3.812 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/1.375, allocations: 24.11 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.375, allocations: 3.938 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/1.375, allocations: 22.33 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/1.375, allocations: 8.281 kB / 1.366 GB, free: 31.27 MB / 0.8386 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 8.87e-05/1.375, allocations: 107.5 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/1.375, allocations: 7.812 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/1.375, allocations: 130.3 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/1.375, allocations: 0 / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.376, allocations: 2.25 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.376, allocations: 7.938 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/1.376, allocations: 392.5 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.376, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/1.376, allocations: 9.047 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.376, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/1.376, allocations: 1.5 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.376, allocations: 3.969 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.376, allocations: 5.312 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/1.376, allocations: 214.1 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/1.376, allocations: 86.33 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/1.376, allocations: 0 / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.377, allocations: 11.09 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/1.377, allocations: 15.97 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.377, allocations: 1.594 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.394e-05/1.377, allocations: 109.8 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.377, allocations: 0 / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003651/1.377, allocations: 43.88 kB / 1.367 GB, free: 30.5 MB / 0.8386 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.0004095/1.378, allocations: 179.3 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00016/1.378, allocations: 67.97 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.378, allocations: 0 / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/1.378, allocations: 42.47 kB / 1.367 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.378, allocations: 14.55 kB / 1.367 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/1.378, allocations: 115.5 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/1.379, allocations: 0.6984 MB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.09e-05/1.379, allocations: 10.47 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/1.379, allocations: 15.84 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.379, allocations: 0 / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.004702/1.383, allocations: 1.778 MB / 1.37 GB, free: 29.42 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches