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.36/2.36, 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.001441/0.001441, allocations: 180.1 kB / 492.3 MB, free: 0.6211 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.708/1.708, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.001339/0.001339, allocations: 87.91 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.849e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3848, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.602, allocations: 151.6 MB / 1.361 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.603, allocations: 84.14 kB / 1.361 GB, free: 19.09 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.01248/1.615, allocations: 3.858 MB / 1.364 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/1.615, allocations: 0 / 1.364 GB, free: 34.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.615, allocations: 3.812 kB / 1.364 GB, free: 34.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006682/1.616, allocations: 0.5247 MB / 1.365 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.616, allocations: 11.66 kB / 1.365 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/1.616, allocations: 37.27 kB / 1.365 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/1.616, allocations: 15.55 kB / 1.365 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.616, allocations: 179.5 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.616, allocations: 0 / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/1.616, allocations: 18.19 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/1.616, allocations: 100.3 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.616, allocations: 0 / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.616, allocations: 0 / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.616, allocations: 10.52 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/1.617, allocations: 46.25 kB / 1.365 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.618, allocations: 416.7 kB / 1.366 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/1.618, allocations: 59.12 kB / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/1.618, allocations: 48.88 kB / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/1.618, allocations: 0 / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/1.618, allocations: 114.6 kB / 1.366 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/1.618, allocations: 3.938 kB / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003862/1.619, allocations: 143.7 kB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.619, allocations: 58.95 kB / 1.366 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.619, allocations: 129.9 kB / 1.366 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/1.619, allocations: 29.58 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/1.619, allocations: 105.1 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.619, allocations: 17.94 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/1.619, allocations: 7.438 kB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/1.619, allocations: 324.9 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/1.619, allocations: 19.09 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/1.619, allocations: 61.62 kB / 1.367 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/1.619, allocations: 47.05 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.619, allocations: 0 / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002122/1.62, allocations: 123.5 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.62, allocations: 8.781 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.62, allocations: 0 / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.62, allocations: 7.766 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.62, allocations: 32.31 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.62, allocations: 0 / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.62, allocations: 21.33 kB / 1.367 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/1.62, allocations: 6.562 kB / 1.367 GB, free: 32.62 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: 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 () * 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.0001015/1.62, allocations: 109.4 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/1.62, allocations: 11.75 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/1.62, allocations: 15.81 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.62, allocations: 6.625 kB / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.62, allocations: 0 / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.62, allocations: 0 / 1.367 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/1.621, allocations: 457.6 kB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.621, allocations: 3.875 kB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/1.621, allocations: 14.05 kB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.621, allocations: 3.953 kB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/1.621, allocations: 6.438 kB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.621, allocations: 0 / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.621, allocations: 6.562 kB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/1.621, allocations: 246.6 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/1.621, allocations: 88.14 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/1.621, allocations: 3.953 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/1.622, allocations: 30.12 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/1.622, allocations: 10.2 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/1.622, allocations: 7.297 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.96e-05/1.622, allocations: 109.8 kB / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.622, allocations: 3.938 kB / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000406/1.622, allocations: 60.16 kB / 1.368 GB, free: 31.86 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * 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.0009446/1.623, allocations: 0.8643 MB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002294/1.623, allocations: 85.81 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.623, allocations: 4.25 kB / 1.369 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/1.624, allocations: 57.69 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/1.624, allocations: 12.05 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/1.624, allocations: 206.7 kB / 1.369 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.625, allocations: 0.7043 MB / 1.37 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.43e-05/1.625, allocations: 14.61 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/1.625, allocations: 27.75 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.625, allocations: 0 / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/1.64, allocations: 3.26 MB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.641, allocations: 211.5 kB / 1.373 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/3.492, allocations: 0 / 1.373 GB, free: 29.78 MB / 0.8386 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