Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,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.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_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 249.5 MB / 257 MB, free: 6.891 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.001003/0.001003, allocations: 180.8 kB / 316.3 MB, free: 3.227 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.598/1.598, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009162/0.0009157, allocations: 82.44 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.68e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8487/1.092, allocations: 134.2 MB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.092, allocations: 83.44 kB / 1.016 GB, free: 3.613 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.00973/1.102, allocations: 3.145 MB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.102, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.437e-05/1.102, allocations: 4 kB / 1.019 GB, free: 0.9492 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.000701/1.103, allocations: 461.4 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.103, allocations: 8.031 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/1.103, allocations: 7.906 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/1.103, allocations: 171 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/1.103, allocations: 7.984 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.103, allocations: 4 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001499/1.103, allocations: 31.5 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.103, allocations: 62.03 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.103, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.103, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.103, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/1.104, allocations: 309 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/1.104, allocations: 57.98 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/1.104, allocations: 33.22 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/1.105, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/1.105, allocations: 82.88 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/1.105, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004006/1.105, allocations: 108.7 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.105, allocations: 59.39 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.105, allocations: 116.2 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.105, allocations: 33.64 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/1.106, allocations: 88.31 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/1.106, allocations: 23.8 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/1.106, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.106, allocations: 322.5 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/1.106, allocations: 19.75 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/1.106, allocations: 64.45 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/1.106, allocations: 27.61 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.106, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001759/1.106, allocations: 108.8 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.106, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.106, allocations: 3.5 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.106, allocations: 8 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/1.106, allocations: 15.92 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.106, allocations: 4 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.986e-05/1.107, allocations: 15.89 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.107, allocations: 4 kB / 1.022 GB, free: 14.67 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 0.0001003/1.107, allocations: 116.8 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/1.107, allocations: 8 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/1.107, allocations: 129.2 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.107, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.107, allocations: 8.078 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.107, allocations: 3.984 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/1.108, allocations: 381.3 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.108, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/1.108, allocations: 8 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.108, allocations: 3.984 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.108, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.108, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.108, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/1.108, allocations: 214.6 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/1.108, allocations: 85.02 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.108, allocations: 7.938 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.108, allocations: 12.08 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/1.108, allocations: 11.92 kB / 1.022 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/1.108, allocations: 4 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.109e-05/1.109, allocations: 98.89 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000404/1.109, allocations: 43.94 kB / 1.023 GB, free: 13.55 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.0004769/1.109, allocations: 175.2 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001762/1.11, allocations: 78.44 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.11, allocations: 0 / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/1.11, allocations: 39.73 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/1.11, allocations: 12.23 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/1.11, allocations: 127.4 kB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.111, allocations: 0.7002 MB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.613e-05/1.111, allocations: 4.625 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/1.111, allocations: 19.42 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.914e-06/1.111, allocations: 0 / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.004689/1.116, allocations: 1.77 MB / 1.025 GB, free: 10.64 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches