Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.0008437/0.0008437, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008214/0.0008215, allocations: 172.7 kB / 15.95 MB, free: 208 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.398/1.398, allocations: 223.2 MB / 240 MB, free: 5.316 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.353/2.353, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 16 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6675, allocations: 142.3 MB / 0.9538 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005985/0.6682, allocations: 262.6 kB / 0.9541 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.6683, allocations: 14.34 kB / 0.9541 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.6683, allocations: 5.281 kB / 0.9541 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-06/0.6683, allocations: 0 / 0.9541 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.6685, allocations: 5.25 kB / 0.9541 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.605e-06/0.6685, allocations: 0 / 0.9541 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.6685, allocations: 10.69 kB / 0.9541 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.6686, allocations: 0 / 0.9541 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.6686, allocations: 2.688 kB / 0.9541 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.6687, allocations: 5.469 kB / 0.9541 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.6687, allocations: 0 / 0.9541 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.6687, allocations: 0 / 0.9541 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.6687, allocations: 4 kB / 0.9541 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.6687, allocations: 31.11 kB / 0.9542 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.623e-05/0.6688, allocations: 0 / 0.9542 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6688, allocations: 1.281 kB / 0.9542 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6688, allocations: 0 / 0.9542 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.6688, allocations: 0 / 0.9542 GB, free: 7.773 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001782/0.669, allocations: 310.1 kB / 0.9545 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.669, allocations: 9.031 kB / 0.9545 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.669, allocations: 31.59 kB / 0.9545 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.6691, allocations: 3.953 kB / 0.9545 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.6691, allocations: 168.1 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.6691, allocations: 1.656 kB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.6692, allocations: 0 / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.785e-05/0.6693, allocations: 51.19 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6693, allocations: 0 / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.6693, allocations: 0 / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6693, allocations: 1.562 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.6693, allocations: 5.672 kB / 0.9547 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.6694, allocations: 160.9 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/0.6695, allocations: 36.97 kB / 0.9549 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.6695, allocations: 16.28 kB / 0.9549 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.6695, allocations: 0 / 0.9549 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.6695, allocations: 40.19 kB / 0.955 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.6695, allocations: 3.938 kB / 0.955 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001264/0.6697, allocations: 43.84 kB / 0.955 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.6697, allocations: 81.05 kB / 0.9551 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.588e-05/0.6697, allocations: 96.06 kB / 0.9552 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.6698, allocations: 25.7 kB / 0.9552 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.6698, allocations: 80.52 kB / 0.9553 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.6698, allocations: 15.64 kB / 0.9553 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-06/0.6698, allocations: 3.938 kB / 0.9553 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.6699, allocations: 316.3 kB / 0.9556 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.6699, allocations: 5.172 kB / 0.9556 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.6699, allocations: 12.72 kB / 0.9556 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/0.6699, allocations: 2.312 kB / 0.9556 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6699, allocations: 0 / 0.9556 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.447e-05/0.67, allocations: 51.12 kB / 0.9557 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.67, allocations: 5.125 kB / 0.9557 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.67, allocations: 3.984 kB / 0.9557 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.67, allocations: 1.156 kB / 0.9557 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.6701, allocations: 6.344 kB / 0.9557 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6701, allocations: 1.344 kB / 0.9557 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.6701, allocations: 1.438 kB / 0.9557 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6701, allocations: 7.938 kB / 0.9557 GB, free: 6.023 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.466e-05/0.6702, allocations: 111.6 kB / 0.9558 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.6702, allocations: 2.219 kB / 0.9558 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.015e-05/0.6703, allocations: 48.41 kB / 0.9558 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6703, allocations: 1.219 kB / 0.9558 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6703, allocations: 1.125 kB / 0.9558 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.6703, allocations: 0 / 0.9558 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.613e-05/0.6704, allocations: 155.8 kB / 0.956 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6704, allocations: 0.9375 kB / 0.956 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.6704, allocations: 7.781 kB / 0.956 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6704, allocations: 0 / 0.956 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.6704, allocations: 1.031 kB / 0.956 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6704, allocations: 5.469 kB / 0.956 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6704, allocations: 0 / 0.956 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.532e-05/0.6705, allocations: 71.34 kB / 0.9561 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.6705, allocations: 78.58 kB / 0.9561 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6706, allocations: 13.14 kB / 0.9562 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.6706, allocations: 0 / 0.9562 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.6706, allocations: 1.375 kB / 0.9562 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.6706, allocations: 1.438 kB / 0.9562 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.6706, allocations: 76.91 kB / 0.9562 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6706, allocations: 0 / 0.9562 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002179/0.6708, allocations: 1.406 kB / 0.9562 GB, free: 5.391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002085/0.6711, allocations: 0.617 MB / 0.9568 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.6711, allocations: 9.031 kB / 0.9568 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6711, allocations: 1.469 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-06/0.6711, allocations: 4.438 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.6713, allocations: 13.22 kB / 0.9569 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.6716, allocations: 126.5 kB / 0.957 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.6717, allocations: 0.6714 MB / 0.9576 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.6717, allocations: 5.172 kB / 0.9576 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.6717, allocations: 12.44 kB / 0.9577 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6717, allocations: 1.188 kB / 0.9577 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009075/0.6808, allocations: 0.7393 MB / 0.9584 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/0.6809, allocations: 183 kB / 0.9586 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.203, allocations: 0 / 0.9586 GB, free: 3.293 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat does not exist to compare? outputFormat=mat