Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001316/0.001316, allocations: 189.2 kB / 498.1 MB, free: 5.742 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.568/1.568, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001054/0.001054, allocations: 96.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 13.66 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.5083, allocations: 151.4 MB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5086, allocations: 87.95 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.009864/0.5185, allocations: 3.207 MB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5185, allocations: 0 / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5185, allocations: 4 kB / 1.374 GB, free: 7.285 MB / 0.8698 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.0007674/0.5193, allocations: 474.3 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5194, allocations: 8.031 kB / 1.374 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.5194, allocations: 11.86 kB / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5196, allocations: 178.8 kB / 1.375 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5197, allocations: 4 kB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5197, allocations: 12 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.5199, allocations: 73.59 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5199, allocations: 0 / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.52, allocations: 7.984 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.52, allocations: 7.984 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.5201, allocations: 43.91 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.5208, allocations: 328.8 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.521, allocations: 62.55 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.5211, allocations: 4.156 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.5213, allocations: 99.38 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.5213, allocations: 0 / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004348/0.5217, allocations: 161.4 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.5218, allocations: 63.39 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.5219, allocations: 116.9 kB / 1.376 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5219, allocations: 29.7 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.522, allocations: 88.38 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.5221, allocations: 23.7 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5221, allocations: 4 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5222, allocations: 322.8 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.5223, allocations: 27.98 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.5224, allocations: 76.58 kB / 1.376 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.5225, allocations: 35.92 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5225, allocations: 4 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002531/0.5228, allocations: 133.8 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5228, allocations: 4 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5228, allocations: 4 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5229, allocations: 0 / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.523, allocations: 19.92 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.523, allocations: 16.02 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5231, allocations: 11.98 kB / 1.376 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5231, allocations: 8 kB / 1.376 GB, free: 4.625 MB / 0.8698 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.0001281/0.5233, allocations: 124.8 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.5233, allocations: 7.906 kB / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.5237, allocations: 149.9 kB / 1.377 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5237, allocations: 4 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5237, allocations: 3.984 kB / 1.377 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5237, allocations: 3.953 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.5243, allocations: 430.3 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5243, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.5244, allocations: 15.92 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.5244, allocations: 0 / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5244, allocations: 8 kB / 1.377 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5244, allocations: 3.953 kB / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5244, allocations: 0 / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.5248, allocations: 236.4 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.5248, allocations: 85.02 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.5249, allocations: 4 kB / 1.377 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.525, allocations: 11.98 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.5251, allocations: 16.02 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5251, allocations: 4 kB / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.5252, allocations: 103.2 kB / 1.377 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5252, allocations: 4 kB / 1.377 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003646/0.5255, allocations: 55.92 kB / 1.378 GB, free: 3.273 MB / 0.8698 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.000479/0.526, allocations: 180.5 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.5263, allocations: 91.94 kB / 1.378 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5263, allocations: 0 / 1.378 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5265, allocations: 47.92 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5267, allocations: 15.98 kB / 1.378 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.5273, allocations: 223.4 kB / 1.378 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.5276, allocations: 0.7043 MB / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.58e-05/0.5277, allocations: 12.42 kB / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.5278, allocations: 15.44 kB / 1.379 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.5278, allocations: 0 / 1.379 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of Templates: time 0.005503/0.5333, allocations: 1.789 MB / 1.381 GB, free: 164 kB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches