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.025/2.025, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009334/0.0009334, allocations: 168.8 kB / 487.4 MB, free: 5.07 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.299/1.299, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008142/0.0008141, allocations: 103.8 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.147e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 142.3 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7313/0.9629, allocations: 150.7 MB / 1.353 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.9631, allocations: 82.56 kB / 1.353 GB, free: 18.43 MB / 0.823 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.008844/0.972, allocations: 3.184 MB / 1.356 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.972, allocations: 0 / 1.356 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.972, allocations: 0 / 1.356 GB, free: 33.97 MB / 0.8386 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.0004925/0.9725, allocations: 467.5 kB / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9726, allocations: 8.406 kB / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.9726, allocations: 7.719 kB / 1.357 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.9727, allocations: 172.1 kB / 1.357 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.9727, allocations: 3.938 kB / 1.357 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.9728, allocations: 4.547 kB / 1.357 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.859e-05/0.9729, allocations: 30.09 kB / 1.357 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.973, allocations: 68.5 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.973, allocations: 3.844 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.973, allocations: 4.797 kB / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.973, allocations: 0 / 1.357 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.9736, allocations: 306.2 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.9737, allocations: 59.92 kB / 1.357 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.9737, allocations: 32.38 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.9737, allocations: 96 / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.9739, allocations: 88.88 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.9739, allocations: 0 / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002423/0.9741, allocations: 108.1 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.9742, allocations: 55.25 kB / 1.358 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.9742, allocations: 118.6 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.9743, allocations: 25.7 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.9743, allocations: 93.78 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.9743, allocations: 17.52 kB / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.9744, allocations: 0 / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9745, allocations: 320.9 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.9745, allocations: 19 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.9746, allocations: 62.58 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.9746, allocations: 27.7 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9746, allocations: 3.844 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001421/0.9748, allocations: 109.3 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.9748, allocations: 11.81 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9748, allocations: 0 / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.9748, allocations: 3.938 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9749, allocations: 22.36 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.975, allocations: 0 / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.9751, allocations: 10.62 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.9751, allocations: 10.81 kB / 1.358 GB, free: 32.2 MB / 0.8386 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 9.042e-05/0.9752, allocations: 122.1 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.9752, allocations: 3.906 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.9754, allocations: 134.9 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9754, allocations: 0 / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.9754, allocations: 0 / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.9755, allocations: 0 / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.9759, allocations: 393.8 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.9759, allocations: 3.969 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.9759, allocations: 11.02 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.976, allocations: 0 / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.976, allocations: 2.719 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.976, allocations: 0 / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.976, allocations: 3.969 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.9762, allocations: 209.4 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.9762, allocations: 91.41 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.9762, allocations: 1.625 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.9764, allocations: 10.45 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.9764, allocations: 13.05 kB / 1.359 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.9764, allocations: 6.75 kB / 1.359 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.9765, allocations: 100.3 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9765, allocations: 0 / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003084/0.9768, allocations: 45.5 kB / 1.36 GB, free: 31.42 MB / 0.8386 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.0004044/0.9772, allocations: 178.5 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.9774, allocations: 67.25 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9774, allocations: 256 / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9776, allocations: 45.06 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.9778, allocations: 9.234 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.9782, allocations: 121 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.9785, allocations: 0.6998 MB / 1.361 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.9785, allocations: 10.98 kB / 1.361 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.9786, allocations: 15.12 kB / 1.361 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.9786, allocations: 0 / 1.361 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.00417/0.9827, allocations: 1.772 MB / 1.362 GB, free: 30.34 MB / 0.8386 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