Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_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.00184/0.00184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002688/0.002687, allocations: 192.4 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.607/2.607, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.164/5.164, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.81 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3512, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.003422/0.3547, allocations: 0.5917 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.3549, allocations: 19.89 kB / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.3549, allocations: 4 kB / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.3549, allocations: 0 / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3552, allocations: 4 kB / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.3552, allocations: 0 / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.3553, allocations: 4 kB / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.3553, allocations: 0 / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.3554, allocations: 0 / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.3554, allocations: 15.92 kB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3555, allocations: 0 / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.3555, allocations: 0 / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3555, allocations: 7.922 kB / 1.053 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.3555, allocations: 0 / 1.053 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.456e-05/0.3556, allocations: 4 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3556, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3556, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3556, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 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.0003921/0.356, allocations: 315.6 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.3561, allocations: 12.62 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3561, allocations: 30.75 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3561, allocations: 8.938 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3563, allocations: 160.4 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3563, allocations: 384 / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3563, allocations: 4.312 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3564, allocations: 55.84 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3565, allocations: 3.938 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3565, allocations: 4 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3565, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.3565, allocations: 4 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.3567, allocations: 154.6 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.3568, allocations: 41.2 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.3568, allocations: 13.72 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3568, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3569, allocations: 42.56 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3569, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.3571, allocations: 45.56 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.3571, allocations: 77.11 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.3572, allocations: 102.1 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3573, allocations: 25.7 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.3573, allocations: 84.08 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3573, allocations: 8.125 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.3574, allocations: 13.72 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3575, allocations: 314.8 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.3575, allocations: 3.984 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.3576, allocations: 17.84 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.3576, allocations: 13.72 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3576, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.062e-05/0.3577, allocations: 45.64 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3577, allocations: 11.92 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3577, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3578, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.3578, allocations: 4.125 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3579, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3579, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3579, allocations: 4 kB / 1.055 GB, free: 6.184 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.358, allocations: 109.8 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.358, allocations: 3.938 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3581, allocations: 52.75 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3582, allocations: 8.047 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3582, allocations: 0 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3582, allocations: 3.938 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3583, allocations: 153.6 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3583, allocations: 0 / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.3583, allocations: 7.938 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3584, allocations: 3.938 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3584, allocations: 3.938 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3584, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3584, allocations: 8 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.3585, allocations: 69.98 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.3586, allocations: 77.11 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3586, allocations: 7.922 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.3587, allocations: 4 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3587, allocations: 4 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3587, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.3587, allocations: 83.25 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3587, allocations: 4 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001921/0.3589, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004928/0.3594, allocations: 0.5978 MB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3596, allocations: 19.94 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3596, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.3596, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.3598, allocations: 5.547 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.3601, allocations: 115.6 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3605, allocations: 0.677 MB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.3605, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.3606, allocations: 15.38 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3606, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.341/3.701, allocations: 0.8229 MB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003941/3.702, allocations: 202.8 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.481/8.182, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches