Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.557/2.557, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001339/0.001339, allocations: 180.6 kB / 487.4 MB, free: 5.059 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.662/1.662, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.00112/0.00112, allocations: 91.84 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.611e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2965, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.472, allocations: 1.913 GB / 3.119 GB, free: 434.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/6.473, allocations: 83.48 kB / 3.119 GB, free: 434.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.307/6.78, allocations: 166.3 MB / 3.282 GB, free: 269.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/6.78, allocations: 0 / 3.282 GB, free: 269.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.499e-05/6.78, allocations: 8 kB / 3.282 GB, free: 269.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008891/6.781, allocations: 0.6193 MB / 3.282 GB, free: 268.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/6.781, allocations: 8.031 kB / 3.282 GB, free: 268.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/6.782, allocations: 135.4 kB / 3.283 GB, free: 268.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/6.782, allocations: 418.5 kB / 3.283 GB, free: 268.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/6.782, allocations: 11.94 kB / 3.283 GB, free: 268.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/6.782, allocations: 16 kB / 3.283 GB, free: 268.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003011/6.783, allocations: 177.1 kB / 3.283 GB, free: 267.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/6.783, allocations: 234.6 kB / 3.283 GB, free: 267.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/6.783, allocations: 4 kB / 3.283 GB, free: 267.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/6.783, allocations: 7.984 kB / 3.283 GB, free: 267.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/6.783, allocations: 8.562 kB / 3.283 GB, free: 267.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/6.784, allocations: 1.246 MB / 3.285 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/6.785, allocations: 173.5 kB / 3.285 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/6.785, allocations: 85.98 kB / 3.285 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/6.785, allocations: 0 / 3.285 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/6.785, allocations: 46.5 kB / 3.285 GB, free: 265.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/6.785, allocations: 0 / 3.285 GB, free: 265.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005136/6.785, allocations: 210.5 kB / 3.285 GB, free: 265.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/6.785, allocations: 55.41 kB / 3.285 GB, free: 265.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/6.786, allocations: 241.2 kB / 3.285 GB, free: 265.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/6.786, allocations: 29.7 kB / 3.285 GB, free: 265.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/6.786, allocations: 196 kB / 3.286 GB, free: 265.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/6.786, allocations: 67.03 kB / 3.286 GB, free: 265.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/6.786, allocations: 0 / 3.286 GB, free: 265.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/6.786, allocations: 342.8 kB / 3.286 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/6.786, allocations: 55.98 kB / 3.286 GB, free: 264.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-05/6.786, allocations: 108.6 kB / 3.286 GB, free: 264.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/6.786, allocations: 77 kB / 3.286 GB, free: 264.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/6.786, allocations: 0 / 3.286 GB, free: 264.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002689/6.786, allocations: 226.3 kB / 3.287 GB, free: 264.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/6.787, allocations: 4.188 kB / 3.287 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/6.787, allocations: 8 kB / 3.287 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/6.787, allocations: 7.875 kB / 3.287 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/6.787, allocations: 43.92 kB / 3.287 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/6.787, allocations: 7.984 kB / 3.287 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/6.787, allocations: 15.84 kB / 3.287 GB, free: 264.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/6.787, allocations: 11.98 kB / 3.287 GB, free: 264.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.065e-05/6.787, allocations: 116.9 kB / 3.287 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003251/6.787, allocations: 211.5 kB / 3.287 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/6.788, allocations: 27.72 kB / 3.287 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/6.788, allocations: 34.14 kB / 3.287 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/6.788, allocations: 4 kB / 3.287 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/6.788, allocations: 3.953 kB / 3.287 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/6.788, allocations: 0 / 3.287 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/6.788, allocations: 357.8 kB / 3.287 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/6.788, allocations: 0 / 3.287 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/6.788, allocations: 39.98 kB / 3.287 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/6.788, allocations: 36.83 kB / 3.287 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/6.788, allocations: 0 / 3.287 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008794/6.789, allocations: 1.378 MB / 3.289 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/6.789, allocations: 4.031 kB / 3.289 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/6.79, allocations: 382.5 kB / 3.289 GB, free: 261.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/6.79, allocations: 128.7 kB / 3.289 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/6.79, allocations: 8.062 kB / 3.289 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/6.79, allocations: 4 kB / 3.289 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/6.79, allocations: 15.94 kB / 3.289 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/6.79, allocations: 7.984 kB / 3.289 GB, free: 261.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001567/6.79, allocations: 192.6 kB / 3.289 GB, free: 261.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/6.79, allocations: 0 / 3.289 GB, free: 261.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005298/6.791, allocations: 143.8 kB / 3.29 GB, free: 260.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/6.792, allocations: 1.62 MB / 3.291 GB, free: 259.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002437/6.793, allocations: 149.1 kB / 3.291 GB, free: 259.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.793, allocations: 4.062 kB / 3.291 GB, free: 259.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/6.793, allocations: 190.8 kB / 3.292 GB, free: 258.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/6.794, allocations: 182.5 kB / 3.292 GB, free: 258.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/6.795, allocations: 0.6247 MB / 3.292 GB, free: 258.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/6.795, allocations: 0.8038 MB / 3.293 GB, free: 257.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002394/6.795, allocations: 55.25 kB / 3.293 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/6.795, allocations: 107.4 kB / 3.293 GB, free: 257.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/6.795, allocations: 0 / 3.293 GB, free: 257.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/6.83, allocations: 13.5 MB / 3.306 GB, free: 243.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/6.83, allocations: 139.4 kB / 3.307 GB, free: 243.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/9.485, allocations: 0 / 3.307 GB, free: 243.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat