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.244/2.244, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00103/0.00103, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0008869/0.000887, allocations: 99.84 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.097e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2956, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9698/1.265, allocations: 151 MB / 1.353 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.266, allocations: 79.5 kB / 1.354 GB, free: 18.19 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.01217/1.278, allocations: 3.836 MB / 1.357 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.278, allocations: 0 / 1.357 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.278, allocations: 0 / 1.357 GB, free: 33.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000592/1.279, allocations: 0.5272 MB / 1.358 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.279, allocations: 12.34 kB / 1.358 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/1.279, allocations: 18.25 kB / 1.358 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/1.279, allocations: 174.5 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.279, allocations: 3.812 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/1.279, allocations: 3.844 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/1.279, allocations: 43.11 kB / 1.358 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.279, allocations: 98.77 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.279, allocations: 3.938 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.279, allocations: 3.984 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.279, allocations: 3.844 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/1.28, allocations: 387.8 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/1.28, allocations: 56.64 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/1.28, allocations: 43.14 kB / 1.359 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.28, allocations: 3.875 kB / 1.359 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/1.28, allocations: 107.3 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/1.28, allocations: 0 / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.00033/1.281, allocations: 150.8 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/1.281, allocations: 51.41 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.281, allocations: 128.3 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.281, allocations: 25.7 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/1.281, allocations: 105.9 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/1.281, allocations: 13.11 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/1.281, allocations: 3.812 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.281, allocations: 326.5 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/1.281, allocations: 26.67 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/1.281, allocations: 61.06 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/1.281, allocations: 25.64 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.281, allocations: 5.406 kB / 1.36 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/1.282, allocations: 116 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.282, allocations: 3.875 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.282, allocations: 6.5 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.282, allocations: 0 / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.282, allocations: 29.17 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/1.282, allocations: 7.891 kB / 1.36 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.282, allocations: 22.8 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/1.282, allocations: 9.234 kB / 1.36 GB, free: 31.8 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 7.768e-05/1.282, allocations: 105.5 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002288/1.282, allocations: 146.2 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/1.282, allocations: 15.5 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/1.282, allocations: 8 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.282, allocations: 14.88 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.282, allocations: 0 / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.282, allocations: 0 / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/1.283, allocations: 418.3 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.283, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/1.283, allocations: 21.12 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.283, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.283, allocations: 7.047 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.283, allocations: 3.938 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.283, allocations: 11.83 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/1.283, allocations: 233.7 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/1.283, allocations: 91.34 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.283, allocations: 4.125 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/1.283, allocations: 39.75 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/1.284, allocations: 7.031 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/1.284, allocations: 10.88 kB / 1.361 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.077e-05/1.284, allocations: 105.9 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.284, allocations: 0 / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003507/1.284, allocations: 57.53 kB / 1.361 GB, free: 31.02 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.0009248/1.285, allocations: 0.8379 MB / 1.362 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001972/1.285, allocations: 79.5 kB / 1.362 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.285, allocations: 256 / 1.362 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/1.285, allocations: 54.61 kB / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.285, allocations: 20.86 kB / 1.362 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/1.286, allocations: 191.9 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.286, allocations: 0.7037 MB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.456e-05/1.286, allocations: 11.73 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/1.286, allocations: 29.06 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.286, allocations: 0 / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.307, allocations: 2.9 MB / 1.366 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.307, allocations: 207.9 kB / 1.366 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.88, allocations: 0 / 1.366 GB, free: 29.07 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