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.556/1.556, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.001151/0.001151, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.0008546/0.0008548, allocations: 90.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.794e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.805/1.045, allocations: 133.9 MB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.045, allocations: 86.33 kB / 1.023 GB, free: 0.8242 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.009904/1.055, allocations: 3.16 MB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.715e-06/1.055, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.055, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 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.0006234/1.056, allocations: 464.9 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.056, allocations: 12.03 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/1.056, allocations: 7.906 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/1.056, allocations: 171 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/1.056, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.057, allocations: 7.438 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/1.057, allocations: 68.28 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.057, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.057, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.057, allocations: 4 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/1.057, allocations: 34.67 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/1.058, allocations: 332.3 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/1.058, allocations: 63.81 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/1.058, allocations: 23.92 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.058, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/1.058, allocations: 97 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/1.058, allocations: 7.875 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002829/1.058, allocations: 110.6 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.058, allocations: 59.36 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/1.058, allocations: 115.9 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/1.058, allocations: 29.14 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/1.059, allocations: 99.3 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/1.059, allocations: 19.09 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/1.059, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.059, allocations: 322.3 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/1.059, allocations: 18.75 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/1.059, allocations: 64.45 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/1.059, allocations: 26.61 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.059, allocations: 0 / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001854/1.059, allocations: 119.2 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.059, allocations: 11.94 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.059, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.059, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.059, allocations: 23.17 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.059, allocations: 4.703 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/1.059, allocations: 15.94 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/1.059, allocations: 7.312 kB / 1.028 GB, free: 11.75 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 8.279e-05/1.06, allocations: 116.2 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/1.06, allocations: 7.906 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/1.06, allocations: 138.8 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.06, allocations: 4.078 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.06, allocations: 8.859 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.06, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/1.06, allocations: 420.5 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.06, allocations: 0 / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/1.06, allocations: 11.98 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.06, allocations: 0 / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.061, allocations: 1.188 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.061, allocations: 7.953 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.061, allocations: 0 / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/1.061, allocations: 223.9 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/1.061, allocations: 89 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/1.061, allocations: 96 / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/1.061, allocations: 15.44 kB / 1.029 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/1.061, allocations: 15.92 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.061, allocations: 8 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.553e-05/1.061, allocations: 99.16 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000304/1.061, allocations: 59.86 kB / 1.029 GB, free: 10.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.0003676/1.062, allocations: 166.6 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001773/1.062, allocations: 78.28 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.062, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/1.062, allocations: 44.05 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/1.062, allocations: 8.109 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/1.063, allocations: 134.9 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.063, allocations: 0.6965 MB / 1.03 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.197e-05/1.063, allocations: 12.42 kB / 1.03 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/1.063, allocations: 15.44 kB / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/1.063, allocations: 0 / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of Templates: time 0.004862/1.068, allocations: 1.813 MB / 1.032 GB, free: 7.617 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