Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",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.556/2.556, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001863/0.001863, allocations: 187.9 kB / 0.4901 GB, free: 2.219 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.7/1.7, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001026/0.001026, allocations: 102.5 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003597, allocations: 10.81 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/5.014, allocations: 1.915 GB / 3.144 GB, free: 38.23 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004433/5.014, allocations: 89.39 kB / 3.144 GB, free: 38.18 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.32/6.334, allocations: 168.4 MB / 3.309 GB, free: 348.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.903e-06/6.334, allocations: 4 kB / 3.309 GB, free: 348.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.087e-05/6.334, allocations: 11.98 kB / 3.309 GB, free: 348.4 MB / 1.167 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.001426/6.336, allocations: 0.6789 MB / 3.309 GB, free: 347.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/6.336, allocations: 12.56 kB / 3.309 GB, free: 347.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/6.336, allocations: 62.53 kB / 3.309 GB, free: 347.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/6.337, allocations: 132.4 kB / 3.31 GB, free: 347.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/6.338, allocations: 415.4 kB / 3.31 GB, free: 347 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/6.338, allocations: 24.52 kB / 3.31 GB, free: 347 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/6.338, allocations: 28 kB / 3.31 GB, free: 346.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/6.338, allocations: 267.7 kB / 3.31 GB, free: 346.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/6.338, allocations: 7.844 kB / 3.31 GB, free: 346.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/6.338, allocations: 12 kB / 3.31 GB, free: 346.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/6.338, allocations: 8.562 kB / 3.31 GB, free: 346.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/6.339, allocations: 202.1 kB / 3.31 GB, free: 346.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001819/6.341, allocations: 1.301 MB / 3.312 GB, free: 345 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/6.341, allocations: 194.8 kB / 3.312 GB, free: 344.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/6.341, allocations: 0 / 3.312 GB, free: 344.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/6.341, allocations: 42.55 kB / 3.312 GB, free: 344.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.032e-06/6.341, allocations: 0 / 3.312 GB, free: 344.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0009797/6.342, allocations: 400.9 kB / 3.312 GB, free: 344.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/6.342, allocations: 51.41 kB / 3.312 GB, free: 344.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/6.342, allocations: 263.7 kB / 3.313 GB, free: 344 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/6.342, allocations: 29.69 kB / 3.313 GB, free: 344 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/6.343, allocations: 196 kB / 3.313 GB, free: 343.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/6.343, allocations: 74.94 kB / 3.313 GB, free: 343.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/6.343, allocations: 8 kB / 3.313 GB, free: 343.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001106/6.343, allocations: 346.8 kB / 3.313 GB, free: 343.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/6.343, allocations: 63.97 kB / 3.313 GB, free: 343.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/6.343, allocations: 106 kB / 3.313 GB, free: 343.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/6.343, allocations: 85.47 kB / 3.313 GB, free: 343.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/6.343, allocations: 4 kB / 3.313 GB, free: 343.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003164/6.343, allocations: 238.4 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/6.344, allocations: 11.94 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/6.344, allocations: 0 / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/6.344, allocations: 4.188 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/6.344, allocations: 47.92 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/6.344, allocations: 3.984 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/6.344, allocations: 27.75 kB / 3.314 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/6.344, allocations: 4 kB / 3.314 GB, free: 342.7 MB / 1.167 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 () * Number of clocked 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 0.0001866/6.344, allocations: 165.7 kB / 3.314 GB, free: 342.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/6.344, allocations: 31.62 kB / 3.314 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/6.344, allocations: 39.08 kB / 3.314 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/6.345, allocations: 4 kB / 3.314 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/6.345, allocations: 0 / 3.314 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/6.345, allocations: 0 / 3.314 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/6.345, allocations: 409.2 kB / 3.314 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/6.345, allocations: 0 / 3.314 GB, free: 342.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/6.345, allocations: 35.92 kB / 3.314 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/6.345, allocations: 40.83 kB / 3.315 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/6.346, allocations: 12 kB / 3.315 GB, free: 342 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/6.347, allocations: 1.414 MB / 3.316 GB, free: 340.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.347, allocations: 4.094 kB / 3.316 GB, free: 340.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/6.347, allocations: 406.8 kB / 3.316 GB, free: 340 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/6.347, allocations: 132.7 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/6.347, allocations: 4 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/6.348, allocations: 12 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/6.348, allocations: 19.97 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/6.348, allocations: 8 kB / 3.316 GB, free: 339.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002443/6.348, allocations: 219 kB / 3.317 GB, free: 339.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/6.348, allocations: 0 / 3.317 GB, free: 339.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007512/6.349, allocations: 155.8 kB / 3.317 GB, free: 339.4 MB / 1.167 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 () * Number of clocked 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.001684/6.35, allocations: 1.524 MB / 3.318 GB, free: 337.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003226/6.351, allocations: 173.9 kB / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.351, allocations: 0 / 3.318 GB, free: 337.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/6.351, allocations: 202.9 kB / 3.319 GB, free: 337.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009442/6.352, allocations: 177.4 kB / 3.319 GB, free: 337.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/6.355, allocations: 2.898 MB / 3.322 GB, free: 334.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/6.356, allocations: 0.8079 MB / 3.322 GB, free: 333.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003355/6.356, allocations: 71.22 kB / 3.323 GB, free: 333.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/6.357, allocations: 103.4 kB / 3.323 GB, free: 333.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.462e-06/6.357, allocations: 3.938 kB / 3.323 GB, free: 333.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/6.405, allocations: 20.25 MB / 3.342 GB, free: 313.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/6.406, allocations: 197.2 kB / 3.343 GB, free: 313.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/9.351, allocations: 0 / 3.343 GB, free: 313.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat