Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_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.001183/0.001183, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001362/0.001362, allocations: 177.3 kB / 15.95 MB, free: 216 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.583/1.583, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.628/2.628, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005442, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9141/0.9146, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0009579/0.9156, allocations: 256.8 kB / 0.9811 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002061/0.9159, allocations: 43.83 kB / 0.9811 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.9159, allocations: 4 kB / 0.9812 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.916, allocations: 3.938 kB / 0.9812 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.9161, allocations: 4 kB / 0.9812 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.778e-05/0.9161, allocations: 4 kB / 0.9812 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.9162, allocations: 7.969 kB / 0.9812 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.9162, allocations: 4 kB / 0.9812 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.9163, allocations: 4 kB / 0.9812 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.9164, allocations: 11.92 kB / 0.9812 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.9164, allocations: 4 kB / 0.9812 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.9164, allocations: 0 / 0.9812 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.9165, allocations: 4 kB / 0.9812 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.9165, allocations: 29.7 kB / 0.9812 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.939e-05/0.9165, allocations: 7.969 kB / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9165, allocations: 0 / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9165, allocations: 0 / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.9166, allocations: 4 kB / 0.9812 GB, free: 5.898 MB / 0.7325 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.000405/0.917, allocations: 329.6 kB / 0.9816 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.917, allocations: 8.031 kB / 0.9816 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.9171, allocations: 38.44 kB / 0.9816 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.9171, allocations: 4 kB / 0.9816 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9173, allocations: 175 kB / 0.9818 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.9173, allocations: 3.938 kB / 0.9818 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.9173, allocations: 0 / 0.9818 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.42e-05/0.9174, allocations: 37.66 kB / 0.9818 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9174, allocations: 3.984 kB / 0.9818 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.9174, allocations: 3.984 kB / 0.9818 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.9174, allocations: 0 / 0.9818 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.9174, allocations: 4 kB / 0.9818 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.9176, allocations: 153.7 kB / 0.982 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.9177, allocations: 26.52 kB / 0.982 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.9177, allocations: 0 / 0.982 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9177, allocations: 30.56 kB / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.9177, allocations: 0 / 0.982 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.9178, allocations: 49.69 kB / 0.9821 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.9179, allocations: 51.41 kB / 0.9821 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.918, allocations: 121.9 kB / 0.9822 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.918, allocations: 29.7 kB / 0.9823 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.9181, allocations: 80.14 kB / 0.9823 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.9181, allocations: 3.906 kB / 0.9823 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.9181, allocations: 0 / 0.9823 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9182, allocations: 314.8 kB / 0.9826 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.9182, allocations: 7.984 kB / 0.9826 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.9183, allocations: 13.72 kB / 0.9827 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.9183, allocations: 8.062 kB / 0.9827 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9183, allocations: 0 / 0.9827 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.016e-05/0.9184, allocations: 49.62 kB / 0.9827 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.9184, allocations: 8 kB / 0.9827 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9184, allocations: 0 / 0.9827 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.9184, allocations: 0 / 0.9827 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.9185, allocations: 11.94 kB / 0.9827 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.9185, allocations: 0 / 0.9827 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.9185, allocations: 4.062 kB / 0.9827 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.9186, allocations: 4 kB / 0.9827 GB, free: 4.129 MB / 0.7325 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 7.527e-05/0.9186, allocations: 105.8 kB / 0.9828 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.9187, allocations: 3.938 kB / 0.9828 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.9188, allocations: 61.08 kB / 0.9829 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.9188, allocations: 0 / 0.9829 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9188, allocations: 3.953 kB / 0.9829 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9188, allocations: 0 / 0.9829 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9189, allocations: 161.7 kB / 0.9831 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9189, allocations: 0 / 0.9831 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.919, allocations: 4 kB / 0.9831 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.919, allocations: 0 / 0.9831 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.919, allocations: 3.938 kB / 0.9831 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.919, allocations: 0 / 0.9831 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.919, allocations: 0 / 0.9831 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.9191, allocations: 84.97 kB / 0.9832 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.9192, allocations: 85.23 kB / 0.9832 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.9192, allocations: 3.984 kB / 0.9832 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.9192, allocations: 0 / 0.9832 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.9193, allocations: 7.938 kB / 0.9832 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.9193, allocations: 0 / 0.9832 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.442e-05/0.9193, allocations: 91.27 kB / 0.9833 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9193, allocations: 0 / 0.9833 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001813/0.9195, allocations: 3.953 kB / 0.9833 GB, free: 3.418 MB / 0.7325 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.0003643/0.9199, allocations: 0.6163 MB / 0.9839 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.92, allocations: 11.94 kB / 0.984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.92, allocations: 0 / 0.984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.92, allocations: 7.984 kB / 0.984 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.9201, allocations: 1.719 kB / 0.984 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.9207, allocations: 0.5433 MB / 0.9845 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.921, allocations: 0.6809 MB / 0.9852 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.921, allocations: 4 kB / 0.9852 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.921, allocations: 15.42 kB / 0.9852 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.921, allocations: 0 / 0.9852 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.9326, allocations: 0.9778 MB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.9328, allocations: 175.4 kB / 0.9863 GB, free: 348 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.822, allocations: 0 / 0.9863 GB, free: 348 kB / 0.7325 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat