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.363/2.363, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001088/0.001088, allocations: 179.9 kB / 0.4902 GB, free: 2.312 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.66/1.66, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001007/0.001007, allocations: 100.3 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.5278, allocations: 152.2 MB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5282, allocations: 83.95 kB / 1.378 GB, free: 1.324 MB / 0.8698 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.01071/0.539, allocations: 3.227 MB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.783e-06/0.539, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.539, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 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.0007577/0.5398, allocations: 470.4 kB / 1.382 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5398, allocations: 11.97 kB / 1.382 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.5399, allocations: 11.86 kB / 1.382 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5401, allocations: 167 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.5401, allocations: 7.984 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.5402, allocations: 11.94 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5404, allocations: 65.66 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.5404, allocations: 4 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5404, allocations: 4 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5404, allocations: 4 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5406, allocations: 43.91 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.5413, allocations: 332.7 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.5414, allocations: 70.58 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.5415, allocations: 4 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.5417, allocations: 99.28 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.5417, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0004179/0.5421, allocations: 165.4 kB / 1.383 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.5422, allocations: 51.41 kB / 1.383 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5423, allocations: 117 kB / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5423, allocations: 29.7 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.5424, allocations: 96.28 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.5425, allocations: 23.73 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.5425, allocations: 0 / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5426, allocations: 322.8 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.5427, allocations: 27.98 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5428, allocations: 77.08 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.5429, allocations: 31.98 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5429, allocations: 0 / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002461/0.5432, allocations: 137.4 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5432, allocations: 8 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5432, allocations: 0 / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5433, allocations: 4 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5434, allocations: 19.92 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5434, allocations: 7.953 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5435, allocations: 15.89 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.5435, allocations: 8.125 kB / 1.383 GB, free: 11.44 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.5436, allocations: 125.3 kB / 1.384 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5437, allocations: 7.906 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.544, allocations: 153.9 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.544, allocations: 0 / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.544, allocations: 4 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.544, allocations: 11.94 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.5446, allocations: 430.6 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5446, allocations: 0 / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.5447, allocations: 12.36 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5447, allocations: 4 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.5447, allocations: 8 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.5447, allocations: 3.953 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5447, allocations: 3.938 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.545, allocations: 231.2 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.5451, allocations: 88.95 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.5451, allocations: 4 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5452, allocations: 19.92 kB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.5453, allocations: 11.94 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5453, allocations: 4 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.5454, allocations: 101.6 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5454, allocations: 0 / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003279/0.5457, allocations: 51.98 kB / 1.385 GB, free: 10.09 MB / 0.8855 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) * 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 (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.0003825/0.5461, allocations: 168.7 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.5464, allocations: 83.89 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5464, allocations: 256 / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5465, allocations: 55.86 kB / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5467, allocations: 11.98 kB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.5472, allocations: 237.3 kB / 1.385 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5475, allocations: 0.7004 MB / 1.386 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.816e-05/0.5476, allocations: 12.36 kB / 1.386 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5476, allocations: 23.38 kB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5476, allocations: 0 / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of Templates: time 0.004469/0.5521, allocations: 1.792 MB / 1.388 GB, free: 6.969 MB / 0.8855 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