Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.5 MB / 398 MB, free: 10.98 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.001082/0.001082, allocations: 172.2 kB / 491.2 MB, free: 1.609 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.768/1.768, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009432/0.0009433, allocations: 87.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.495e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4414, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.366/1.808, allocations: 151.8 MB / 1.361 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.808, allocations: 86 kB / 1.361 GB, free: 17.16 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01285/1.821, allocations: 3.848 MB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.821, allocations: 3.812 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.821, allocations: 0 / 1.364 GB, free: 32.62 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.0007631/1.822, allocations: 0.5218 MB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.822, allocations: 11.69 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/1.822, allocations: 20.77 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/1.822, allocations: 179.5 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/1.822, allocations: 5.078 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.822, allocations: 3.844 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/1.822, allocations: 48.69 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.822, allocations: 95.8 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.822, allocations: 0 / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/1.822, allocations: 4.969 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.822, allocations: 3.953 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/1.823, allocations: 382 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.823, allocations: 58.34 kB / 1.366 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/1.824, allocations: 47.03 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/1.824, allocations: 0 / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/1.824, allocations: 97.91 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/1.824, allocations: 0 / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003698/1.824, allocations: 154.5 kB / 1.366 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/1.824, allocations: 55.25 kB / 1.366 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.824, allocations: 130.9 kB / 1.366 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/1.824, allocations: 29.64 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/1.824, allocations: 101 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/1.824, allocations: 24.89 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/1.824, allocations: 0 / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.825, allocations: 322.7 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/1.825, allocations: 24.73 kB / 1.367 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/1.825, allocations: 62.61 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/1.825, allocations: 26.23 kB / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.825, allocations: 0 / 1.367 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001767/1.825, allocations: 123.7 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.825, allocations: 5.25 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.825, allocations: 7.969 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.825, allocations: 0 / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.825, allocations: 29.17 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.825, allocations: 2 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.825, allocations: 22.27 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.825, allocations: 5.484 kB / 1.367 GB, free: 30.76 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.00011/1.826, allocations: 112.8 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002564/1.826, allocations: 142.8 kB / 1.367 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/1.826, allocations: 12.92 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/1.826, allocations: 20.61 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.826, allocations: 0 / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.826, allocations: 0 / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.826, allocations: 3.812 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/1.826, allocations: 419.5 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.826, allocations: 4 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/1.827, allocations: 14.41 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.827, allocations: 3.953 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.827, allocations: 6.703 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.827, allocations: 0 / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.827, allocations: 0.875 kB / 1.368 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/1.827, allocations: 242.8 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/1.827, allocations: 91.69 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/1.827, allocations: 7.922 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.827, allocations: 27.27 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/1.827, allocations: 10.06 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/1.827, allocations: 2.812 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.813e-05/1.827, allocations: 114 kB / 1.368 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.827, allocations: 0 / 1.368 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003961/1.828, allocations: 61.33 kB / 1.368 GB, free: 29.97 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.0009818/1.829, allocations: 0.8573 MB / 1.369 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002007/1.829, allocations: 79.84 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.829, allocations: 0 / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/1.829, allocations: 49.19 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/1.829, allocations: 9.953 kB / 1.369 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/1.83, allocations: 198.6 kB / 1.369 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/1.83, allocations: 0.7056 MB / 1.37 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.086e-05/1.83, allocations: 10.64 kB / 1.37 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/1.83, allocations: 28.92 kB / 1.37 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.83, allocations: 0 / 1.37 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/1.855, allocations: 2.897 MB / 1.373 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.856, allocations: 214 kB / 1.373 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/3.68, allocations: 0 / 1.373 GB, free: 27.95 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat does not exist to compare? outputFormat=mat