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.495/1.495, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176 kB / 326.5 MB, free: 2.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.757/1.757, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009399/0.0009399, allocations: 92.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 12.34 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.393, allocations: 133.9 MB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3933, allocations: 91.94 kB / 1.031 GB, free: 9.723 MB / 0.6823 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.00928/0.4026, allocations: 3.171 MB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4026, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4027, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6823 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.0006633/0.4033, allocations: 479 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4034, allocations: 11.97 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4034, allocations: 8 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4036, allocations: 184.1 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4036, allocations: 4 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4037, allocations: 8 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4038, allocations: 81.58 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4039, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4039, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4039, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.404, allocations: 43.97 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.4046, allocations: 328.8 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.4048, allocations: 70.58 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4048, allocations: 0 / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.4051, allocations: 99.41 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.4051, allocations: 4 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004017/0.4055, allocations: 157.5 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4055, allocations: 59.34 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.4056, allocations: 123.7 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4057, allocations: 30.08 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.4057, allocations: 92.36 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.4058, allocations: 19.72 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.4058, allocations: 0 / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4059, allocations: 332.6 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.406, allocations: 27.98 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.4061, allocations: 69.12 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.154e-05/0.4062, allocations: 32 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4062, allocations: 0 / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/0.4065, allocations: 137.4 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4065, allocations: 4 kB / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4065, allocations: 0 / 1.036 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4065, allocations: 4 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4066, allocations: 19.92 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4066, allocations: 0 / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4068, allocations: 32 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4068, allocations: 4 kB / 1.036 GB, free: 3.891 MB / 0.6823 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.0001108/0.4069, allocations: 120 kB / 1.037 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.4069, allocations: 11.89 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.4072, allocations: 157.8 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4073, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4073, allocations: 4 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4073, allocations: 0 / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.4078, allocations: 430.3 kB / 1.037 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4079, allocations: 4 kB / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.4079, allocations: 15.98 kB / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4079, allocations: 0 / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.408, allocations: 0 / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.408, allocations: 0 / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.408, allocations: 3.953 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.4083, allocations: 235.5 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.4083, allocations: 89.02 kB / 1.037 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4084, allocations: 0 / 1.037 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4085, allocations: 15.98 kB / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.4086, allocations: 19.94 kB / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4086, allocations: 0 / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.4087, allocations: 99.25 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4087, allocations: 0 / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002955/0.409, allocations: 59.94 kB / 1.038 GB, free: 2.543 MB / 0.6823 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.0003636/0.4093, allocations: 174.6 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4096, allocations: 91.89 kB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4096, allocations: 3.938 kB / 1.038 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4097, allocations: 51.97 kB / 1.038 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.4099, allocations: 15.72 kB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.4104, allocations: 235.1 kB / 1.038 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4107, allocations: 0.6965 MB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.4107, allocations: 12.42 kB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.4108, allocations: 15.44 kB / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.4108, allocations: 0 / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of Templates: time 0.004451/0.4152, allocations: 1.801 MB / 1.041 GB, free: 15.41 MB / 0.698 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