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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001577/0.001577, allocations: 184.9 kB / 492.3 MB, free: 0.6016 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.745/1.745, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001106/0.001106, allocations: 90.58 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.448e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3492, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.591, allocations: 151.4 MB / 1.36 GB, free: 19.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.592, allocations: 82.22 kB / 1.36 GB, free: 19.13 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.01049/1.602, allocations: 3.198 MB / 1.364 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.437e-06/1.602, allocations: 0 / 1.364 GB, free: 34.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.602, allocations: 3.938 kB / 1.364 GB, free: 34.67 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.0005883/1.603, allocations: 463.5 kB / 1.364 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/1.603, allocations: 7.688 kB / 1.364 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/1.603, allocations: 40.19 kB / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/1.603, allocations: 7.75 kB / 1.364 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.603, allocations: 168.2 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.603, allocations: 7.031 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/1.603, allocations: 3.844 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/1.604, allocations: 81.81 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.604, allocations: 0 / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.604, allocations: 0 / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.604, allocations: 0.6875 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/1.604, allocations: 33.77 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/1.604, allocations: 342.3 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.605, allocations: 53.67 kB / 1.365 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/1.605, allocations: 31.59 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/1.605, allocations: 2.938 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.605, allocations: 93.08 kB / 1.365 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.605, allocations: 0 / 1.365 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002857/1.605, allocations: 119.7 kB / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.605, allocations: 55.34 kB / 1.365 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/1.605, allocations: 120.5 kB / 1.365 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.605, allocations: 25.7 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/1.605, allocations: 94.25 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/1.605, allocations: 21.27 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/1.605, allocations: 3.812 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/1.605, allocations: 320.7 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/1.606, allocations: 22.09 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/1.606, allocations: 56.97 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/1.606, allocations: 31.59 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.606, allocations: 0 / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001701/1.606, allocations: 126.7 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.606, allocations: 8.781 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.606, allocations: 0 / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.606, allocations: 7.812 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.606, allocations: 14.08 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.606, allocations: 6.906 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/1.606, allocations: 21.75 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.606, allocations: 3.844 kB / 1.366 GB, free: 32.81 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.156e-05/1.606, allocations: 119.1 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/1.606, allocations: 7.875 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/1.607, allocations: 144.8 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.607, allocations: 2.812 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.607, allocations: 4 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.607, allocations: 3.953 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/1.607, allocations: 418.6 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.607, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/1.607, allocations: 10.59 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.607, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.607, allocations: 5.406 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.607, allocations: 7.953 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.607, allocations: 3.938 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.607, allocations: 212.2 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/1.608, allocations: 86.61 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/1.608, allocations: 0 / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.608, allocations: 18.91 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/1.608, allocations: 16.47 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.608, allocations: 3.875 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.628e-05/1.608, allocations: 100.7 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.608, allocations: 96 / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002914/1.608, allocations: 56.16 kB / 1.367 GB, free: 32 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.0008267/1.609, allocations: 0.8195 MB / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.609, allocations: 75.05 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.609, allocations: 0 / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/1.609, allocations: 42.5 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/1.609, allocations: 22.72 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/1.61, allocations: 185.9 kB / 1.368 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.61, allocations: 0.6953 MB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.945e-05/1.61, allocations: 11.59 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/1.61, allocations: 29.91 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.61, allocations: 4 kB / 1.369 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/1.626, allocations: 2.908 MB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.626, allocations: 207.8 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/3.353, allocations: 0 / 1.372 GB, free: 29.96 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat does not exist to compare? outputFormat=mat