Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.267/2.267, 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.001037/0.001037, allocations: 175.4 kB / 498.1 MB, free: 5.746 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.482/1.482, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009177/0.0009176, allocations: 98.25 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 13.94 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.4295, allocations: 151.7 MB / 1.371 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.43, allocations: 91.88 kB / 1.371 GB, free: 1.516 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.01864/0.4487, allocations: 3.882 MB / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4487, allocations: 0 / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.4487, allocations: 4 kB / 1.375 GB, free: 13.61 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001211/0.45, allocations: 0.5459 MB / 1.375 GB, free: 13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.45, allocations: 8.031 kB / 1.375 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.283e-05/0.4501, allocations: 38.55 kB / 1.376 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.4502, allocations: 15.86 kB / 1.376 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.4505, allocations: 174.9 kB / 1.376 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.4505, allocations: 11.98 kB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4506, allocations: 4 kB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.4514, allocations: 157.5 kB / 1.376 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4515, allocations: 3.938 kB / 1.376 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4515, allocations: 4 kB / 1.376 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4515, allocations: 4 kB / 1.376 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.4523, allocations: 131.8 kB / 1.376 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.454, allocations: 396.9 kB / 1.376 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.4547, allocations: 122.4 kB / 1.376 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4548, allocations: 4.141 kB / 1.376 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007838/0.4556, allocations: 163.2 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 2.775e-06/0.4556, allocations: 0 / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.002133/0.4578, allocations: 353.3 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.4578, allocations: 59.39 kB / 1.377 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4581, allocations: 131.3 kB / 1.377 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.4581, allocations: 30.08 kB / 1.377 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.4582, allocations: 100.3 kB / 1.377 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.4583, allocations: 27.73 kB / 1.377 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4583, allocations: 0 / 1.377 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4585, allocations: 322.8 kB / 1.378 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.4588, allocations: 55.97 kB / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4591, allocations: 85.06 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.4594, allocations: 55.97 kB / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.4594, allocations: 112 / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007208/0.4602, allocations: 181.3 kB / 1.378 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4602, allocations: 7.984 kB / 1.378 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4602, allocations: 3.953 kB / 1.378 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4603, allocations: 4 kB / 1.378 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4605, allocations: 23.92 kB / 1.378 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.4606, allocations: 4 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.4608, allocations: 20.05 kB / 1.378 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4608, allocations: 4.094 kB / 1.378 GB, free: 10.15 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001616/0.461, allocations: 125.8 kB / 1.378 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.4611, allocations: 7.906 kB / 1.378 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.4611, allocations: 16.7 kB / 1.378 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4612, allocations: 3.953 kB / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4612, allocations: 0 / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4612, allocations: 0 / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.463, allocations: 0.5607 MB / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.463, allocations: 0 / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4632, allocations: 19.98 kB / 1.379 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.4632, allocations: 3.953 kB / 1.379 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.4633, allocations: 7.984 kB / 1.379 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4633, allocations: 0 / 1.379 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4633, allocations: 0 / 1.379 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.4648, allocations: 355.2 kB / 1.379 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.4649, allocations: 92.94 kB / 1.379 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.465, allocations: 4.141 kB / 1.379 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.4654, allocations: 31.97 kB / 1.379 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.4655, allocations: 15.92 kB / 1.379 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4655, allocations: 4 kB / 1.379 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001174/0.4656, allocations: 109.5 kB / 1.379 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4656, allocations: 0 / 1.379 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006289/0.4663, allocations: 59.92 kB / 1.379 GB, free: 8.645 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.00228/0.4686, allocations: 0.9574 MB / 1.38 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009314/0.4695, allocations: 171.8 kB / 1.381 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4696, allocations: 0 / 1.381 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.4702, allocations: 104.2 kB / 1.381 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4705, allocations: 9.453 kB / 1.381 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4726, allocations: 1.298 MB / 1.382 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.473, allocations: 0.7043 MB / 1.383 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.4731, allocations: 12.03 kB / 1.383 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4733, allocations: 35.42 kB / 1.383 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.4733, allocations: 0 / 1.383 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.4953, allocations: 3.24 MB / 1.386 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.4956, allocations: 240.2 kB / 1.386 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.043, allocations: 0 / 1.386 GB, free: 1.945 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat does not exist to compare? outputFormat=mat