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.0008088/0.0008088, allocations: 87.03 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.0009685/0.0009689, 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.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.573/2.573, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004373, allocations: 11.94 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7243, allocations: 146.8 MB / 0.9811 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0005797/0.7249, allocations: 260.8 kB / 0.9814 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.7251, allocations: 35.89 kB / 0.9814 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7251, allocations: 4 kB / 0.9814 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.7251, allocations: 0 / 0.9814 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.7252, allocations: 3.938 kB / 0.9814 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.059e-05/0.7252, allocations: 7.984 kB / 0.9814 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.454e-05/0.7253, allocations: 11.98 kB / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.7254, allocations: 0 / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.7254, allocations: 7.938 kB / 0.9814 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.7255, allocations: 7.984 kB / 0.9815 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.7256, allocations: 0 / 0.9815 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.7256, allocations: 0 / 0.9815 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.7256, allocations: 15.94 kB / 0.9815 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.7257, allocations: 25.7 kB / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.155e-05/0.7258, allocations: 15.92 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7258, allocations: 3.938 kB / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7258, allocations: 0 / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7258, allocations: 0 / 0.9815 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.0005071/0.7263, allocations: 325.6 kB / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7264, allocations: 8.031 kB / 0.9818 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.7264, allocations: 30.56 kB / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.7265, allocations: 0 / 0.9819 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.7267, allocations: 187 kB / 0.982 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.7267, allocations: 0 / 0.982 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.7267, allocations: 0 / 0.982 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.7268, allocations: 37.64 kB / 0.9821 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7268, allocations: 7.922 kB / 0.9821 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.7269, allocations: 0 / 0.9821 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7269, allocations: 0 / 0.9821 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.7269, allocations: 4 kB / 0.9821 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.7271, allocations: 153.7 kB / 0.9822 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.7271, allocations: 26.56 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.7272, allocations: 4.859 kB / 0.9823 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.7272, allocations: 0 / 0.9823 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.7272, allocations: 38.62 kB / 0.9823 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.354e-06/0.7272, allocations: 0 / 0.9823 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001751/0.7274, allocations: 45.58 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.7275, allocations: 55.53 kB / 0.9824 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.7276, allocations: 109.8 kB / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.7276, allocations: 25.7 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.7277, allocations: 88.12 kB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.7277, allocations: 3.906 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.7277, allocations: 4 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7279, allocations: 310.8 kB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.7279, allocations: 4 kB / 0.9829 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.7279, allocations: 25.7 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.728, allocations: 7.938 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.728, allocations: 0 / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.7281, allocations: 41.69 kB / 0.983 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7281, allocations: 4 kB / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7282, allocations: 0 / 0.983 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7282, allocations: 7.891 kB / 0.983 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.7282, allocations: 4.125 kB / 0.983 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.7283, allocations: 7.938 kB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.7283, allocations: 12.23 kB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7283, allocations: 3.984 kB / 0.983 GB, free: 4.113 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 0.0001007/0.7284, allocations: 113.8 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.7284, allocations: 4 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.7286, allocations: 49.16 kB / 0.9832 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7286, allocations: 4 kB / 0.9832 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7286, allocations: 7.969 kB / 0.9832 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7286, allocations: 4 kB / 0.9832 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.7287, allocations: 153.7 kB / 0.9833 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7288, allocations: 0 / 0.9833 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.7288, allocations: 4 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7288, allocations: 0 / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.7288, allocations: 0 / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.7289, allocations: 0 / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.7289, allocations: 7.938 kB / 0.9834 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.729, allocations: 84.97 kB / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.7291, allocations: 77.11 kB / 0.9835 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7291, allocations: 4.031 kB / 0.9835 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.7291, allocations: 0 / 0.9835 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.7291, allocations: 3.984 kB / 0.9835 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.7292, allocations: 4 kB / 0.9835 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.075e-05/0.7292, allocations: 87.23 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7292, allocations: 0 / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001892/0.7294, allocations: 8 kB / 0.9836 GB, free: 3.406 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.0004511/0.7299, allocations: 0.6125 MB / 0.9842 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.73, allocations: 15.98 kB / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.73, allocations: 0 / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.73, allocations: 12.16 kB / 0.9842 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.7302, allocations: 6.719 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.7309, allocations: 393.6 kB / 0.9846 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.7311, allocations: 0.677 MB / 0.9853 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.7312, allocations: 8 kB / 0.9853 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.7312, allocations: 11.44 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7312, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.7436, allocations: 0.9892 MB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.7438, allocations: 190.3 kB / 0.9864 GB, free: 480 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.504, allocations: 0 / 0.9864 GB, free: 480 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