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.344/1.344, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001153/0.001153, allocations: 180.4 kB / 326.5 MB, free: 2.242 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.778/1.778, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008791/0.000879, allocations: 97.38 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8.531 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.4238, allocations: 134 MB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.4242, allocations: 79.95 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.01471/0.4389, allocations: 3.175 MB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.855e-06/0.439, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.439, allocations: 4 kB / 1.034 GB, free: 6.539 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.000919/0.4399, allocations: 474.3 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.44, allocations: 8.031 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.4401, allocations: 7.938 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.4403, allocations: 178.9 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.4403, allocations: 4 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.4404, allocations: 8 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.4406, allocations: 81.58 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4407, allocations: 0 / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4407, allocations: 4 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4407, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.4409, allocations: 39.97 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008442/0.4418, allocations: 340.7 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.442, allocations: 62.55 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.4421, allocations: 4 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.4424, allocations: 95.3 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.4424, allocations: 3.938 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005972/0.443, allocations: 161.5 kB / 1.035 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4431, allocations: 63.3 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4432, allocations: 118.8 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.4433, allocations: 33.7 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4433, allocations: 84.38 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.4434, allocations: 27.84 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4434, allocations: 4 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4436, allocations: 320.8 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4437, allocations: 27.98 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.4439, allocations: 69.12 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.444, allocations: 35.98 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4441, allocations: 0 / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003967/0.4445, allocations: 133.4 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4445, allocations: 8 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4445, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.4446, allocations: 7.938 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.4447, allocations: 15.98 kB / 1.036 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4448, allocations: 4.125 kB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.4449, allocations: 23.88 kB / 1.036 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.445, allocations: 8 kB / 1.036 GB, free: 3.887 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.0001487/0.4451, allocations: 120.2 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4452, allocations: 11.84 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.4457, allocations: 153.9 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4457, allocations: 96 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4457, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4457, allocations: 7.984 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.4465, allocations: 430.7 kB / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4465, allocations: 0 / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4467, allocations: 12 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4467, allocations: 0 / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4467, allocations: 11.92 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4467, allocations: 0 / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4467, allocations: 7.891 kB / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.4472, allocations: 227.4 kB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.4472, allocations: 89 kB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.4473, allocations: 0 / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4475, allocations: 15.98 kB / 1.037 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.4476, allocations: 15.94 kB / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4476, allocations: 0 / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.4477, allocations: 101.9 kB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4477, allocations: 4 kB / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005731/0.4483, allocations: 55.92 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.0005002/0.4488, allocations: 173.2 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.4492, allocations: 91.83 kB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4492, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.4494, allocations: 47.98 kB / 1.038 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.4497, allocations: 7.984 kB / 1.038 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.4503, allocations: 243.2 kB / 1.038 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4507, allocations: 0.7004 MB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.444e-05/0.4508, allocations: 12.44 kB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.4509, allocations: 15.42 kB / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.4509, allocations: 0 / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of Templates: time 0.006437/0.4573, allocations: 1.798 MB / 1.041 GB, free: 15.41 MB / 0.698 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