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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7562, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1698/0.9261, allocations: 147.5 MB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.9308, allocations: 2.718 MB / 1.101 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.9316, allocations: 15.88 kB / 1.101 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/0.9323, allocations: 143.1 kB / 1.101 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.9344, allocations: 0.5637 MB / 1.101 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008551/0.9353, allocations: 234.2 kB / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.9366, allocations: 1.056 MB / 1.102 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.937, allocations: 189.5 kB / 1.103 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.9374, allocations: 286.7 kB / 1.103 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.9379, allocations: 263 kB / 1.103 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.9379, allocations: 12 kB / 1.103 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.9388, allocations: 319.2 kB / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.9389, allocations: 103.7 kB / 1.104 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.939, allocations: 101.5 kB / 1.104 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.9396, allocations: 0.4988 MB / 1.104 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9396, allocations: 4 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9396, allocations: 0 / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.9396, allocations: 3.938 kB / 1.104 GB, free: 5.785 MB / 0.8575 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.001019/0.9406, allocations: 0.6466 MB / 1.105 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.9407, allocations: 11.97 kB / 1.105 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.9407, allocations: 62.55 kB / 1.105 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.9417, allocations: 135.4 kB / 1.105 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.9422, allocations: 398.5 kB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.9422, allocations: 20.56 kB / 1.105 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.9423, allocations: 24 kB / 1.105 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.9427, allocations: 271.6 kB / 1.106 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.9428, allocations: 4 kB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.9428, allocations: 15.97 kB / 1.106 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.9428, allocations: 8.562 kB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.9432, allocations: 194.1 kB / 1.106 GB, free: 3.906 MB / 0.8575 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.001635/0.9448, allocations: 1.33 MB / 1.107 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.9452, allocations: 190.9 kB / 1.107 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.9453, allocations: 98.64 kB / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.9453, allocations: 0 / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.9454, allocations: 38.56 kB / 1.108 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.143e-06/0.9454, allocations: 0 / 1.108 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.000885/0.9463, allocations: 399.3 kB / 1.108 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.9463, allocations: 55.41 kB / 1.108 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.9466, allocations: 296.6 kB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.9467, allocations: 29.7 kB / 1.108 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.9468, allocations: 200.1 kB / 1.108 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.9469, allocations: 67.02 kB / 1.109 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.9469, allocations: 4 kB / 1.109 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.947, allocations: 342.8 kB / 1.109 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.9471, allocations: 55.98 kB / 1.109 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.9473, allocations: 124 kB / 1.109 GB, free: 480 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.9474, allocations: 85.36 kB / 1.109 GB, free: 396 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9474, allocations: 0 / 1.109 GB, free: 396 kB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003359/0.9477, allocations: 242.8 kB / 1.109 GB, free: 148 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9478, allocations: 8 kB / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9478, allocations: 4.188 kB / 1.109 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9478, allocations: 11.94 kB / 1.109 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.948, allocations: 47.92 kB / 1.109 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.948, allocations: 0 / 1.109 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.9483, allocations: 31.7 kB / 1.109 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.9483, allocations: 8 kB / 1.109 GB, free: 36 kB / 0.8575 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.0001727/0.9485, allocations: 157.8 kB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.9486, allocations: 31.62 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.9487, allocations: 43.02 kB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.9487, allocations: 4 kB / 1.11 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9487, allocations: 7.891 kB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9487, allocations: 0 / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.9492, allocations: 401.3 kB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9492, allocations: 3.938 kB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.9493, allocations: 35.98 kB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.9495, allocations: 40.83 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.9496, allocations: 8 kB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.9507, allocations: 1.409 MB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9507, allocations: 0 / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.9513, allocations: 395.3 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.9514, allocations: 121 kB / 1.112 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.9514, allocations: 19.94 kB / 1.112 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.9517, allocations: 19.91 kB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.9517, allocations: 11.97 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.9518, allocations: 12 kB / 1.112 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002218/0.952, allocations: 215 kB / 1.112 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/0.952, allocations: 0 / 1.112 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004489/0.9525, allocations: 99.84 kB / 1.112 GB, free: 12.8 MB / 0.8731 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.0008593/0.9533, allocations: 0.9432 MB / 1.113 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.9536, allocations: 165.8 kB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9536, allocations: 0 / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.9539, allocations: 202.6 kB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.9548, allocations: 182.7 kB / 1.114 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.9577, allocations: 2.015 MB / 1.116 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.9581, allocations: 0.7924 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.9584, allocations: 67.23 kB / 1.117 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.9585, allocations: 99.41 kB / 1.117 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.9585, allocations: 0 / 1.117 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.9792, allocations: 8.822 MB / 1.125 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.9794, allocations: 214.2 kB / 1.126 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.872, allocations: 3.938 kB / 1.126 GB, free: 15.4 MB / 0.8887 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