Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",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.000846/0.0008459, 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.0008317/0.0008318, 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.467/1.467, allocations: 223.2 MB / 240 MB, free: 5.406 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.499/2.499, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6594/0.6597, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006884/0.6605, allocations: 262.5 kB / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000178/0.6607, allocations: 38.23 kB / 0.9541 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.6607, allocations: 0 / 0.9541 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.6608, allocations: 0 / 0.9541 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.6609, allocations: 5.438 kB / 0.9541 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.842e-05/0.661, allocations: 10.67 kB / 0.9541 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.661, allocations: 11.55 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.6611, allocations: 1.5 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.6611, allocations: 5.969 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.6612, allocations: 8.984 kB / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.6613, allocations: 1.062 kB / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-06/0.6613, allocations: 0 / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.6613, allocations: 6.656 kB / 0.9542 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.6613, allocations: 27.05 kB / 0.9542 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.197e-05/0.6614, allocations: 6.266 kB / 0.9542 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6614, allocations: 9.062 kB / 0.9542 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6614, allocations: 0 / 0.9542 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.6614, allocations: 0 / 0.9542 GB, free: 7.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003397/0.6618, allocations: 327.6 kB / 0.9545 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6618, allocations: 8.906 kB / 0.9545 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.6618, allocations: 30.56 kB / 0.9546 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.6619, allocations: 9.359 kB / 0.9546 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.662, allocations: 176.6 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.662, allocations: 0 / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.6621, allocations: 9.406 kB / 0.9548 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/0.6621, allocations: 32.44 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6621, allocations: 0 / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.6622, allocations: 5.344 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.6622, allocations: 0 / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.6622, allocations: 10.73 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.6623, allocations: 153.8 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.6623, allocations: 21.06 kB / 0.955 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.6624, allocations: 11.86 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.6624, allocations: 0 / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.6624, allocations: 35.75 kB / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.6624, allocations: 0 / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.6625, allocations: 44.25 kB / 0.9551 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.6626, allocations: 51.41 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.6627, allocations: 113 kB / 0.9552 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.6627, allocations: 29.83 kB / 0.9552 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.6627, allocations: 93.5 kB / 0.9553 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.6627, allocations: 1.406 kB / 0.9553 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.6627, allocations: 0 / 0.9553 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.6628, allocations: 312.2 kB / 0.9556 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.6628, allocations: 2.344 kB / 0.9556 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.6628, allocations: 21.05 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.6629, allocations: 8.906 kB / 0.9557 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6629, allocations: 0 / 0.9557 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.334e-05/0.6629, allocations: 50.31 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.663, allocations: 4.844 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.663, allocations: 0 / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.663, allocations: 1.25 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.663, allocations: 3.25 kB / 0.9557 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6631, allocations: 5.203 kB / 0.9557 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.6631, allocations: 1.25 kB / 0.9557 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.6631, allocations: 13.11 kB / 0.9557 GB, free: 6.129 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.941e-05/0.6632, allocations: 107.2 kB / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.6632, allocations: 1.406 kB / 0.9558 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/0.6633, allocations: 56.38 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6633, allocations: 3.984 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6633, allocations: 1.406 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6633, allocations: 0 / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.034e-05/0.6634, allocations: 159.4 kB / 0.9561 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6634, allocations: 7.969 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.6634, allocations: 2.719 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6634, allocations: 1.5 kB / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.6634, allocations: 256 / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6634, allocations: 0 / 0.9561 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6635, allocations: 9.328 kB / 0.9561 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.6636, allocations: 86.59 kB / 0.9562 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.6636, allocations: 78.61 kB / 0.9562 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.6636, allocations: 4 kB / 0.9562 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.6636, allocations: 1.531 kB / 0.9562 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.6637, allocations: 4.984 kB / 0.9562 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.6637, allocations: 0.7188 kB / 0.9562 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.6637, allocations: 85.84 kB / 0.9563 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6637, allocations: 1.125 kB / 0.9563 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000189/0.6639, allocations: 1.938 kB / 0.9563 GB, free: 5.477 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002652/0.6642, allocations: 0.6174 MB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.6643, allocations: 13.36 kB / 0.9569 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6643, allocations: 3.938 kB / 0.9569 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.6643, allocations: 9.094 kB / 0.957 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.6644, allocations: 9.703 kB / 0.957 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.665, allocations: 393.7 kB / 0.9573 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.6651, allocations: 0.6783 MB / 0.958 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.6651, allocations: 2.281 kB / 0.958 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.6651, allocations: 16.5 kB / 0.958 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6651, allocations: 5.062 kB / 0.958 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00949/0.6746, allocations: 0.9734 MB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.6748, allocations: 190.9 kB / 0.9592 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.279, allocations: 0 / 0.9592 GB, free: 3.047 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat