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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001436/0.001436, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 65.16 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002229/0.2986, allocations: 0.6072 MB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000167/0.2988, allocations: 39.89 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.2989, allocations: 0 / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.2989, allocations: 0 / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2991, allocations: 7.922 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.012e-05/0.2992, allocations: 7.984 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.2992, allocations: 8 kB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.2993, allocations: 8 kB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.2993, allocations: 7.922 kB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.2994, allocations: 7.938 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2994, allocations: 4 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2994, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.2995, allocations: 7.984 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.2995, allocations: 11.92 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.468e-05/0.2996, allocations: 4 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2996, allocations: 3.938 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2996, allocations: 3.938 kB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2996, allocations: 0 / 1.053 GB, free: 7.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004379/0.3, allocations: 339.8 kB / 1.053 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3001, allocations: 11.97 kB / 1.053 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.3001, allocations: 30.75 kB / 1.053 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.3002, allocations: 0.9375 kB / 1.053 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.3003, allocations: 180.3 kB / 1.053 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-06/0.3004, allocations: 384 / 1.053 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3004, allocations: 384 / 1.053 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.633e-05/0.3005, allocations: 38.2 kB / 1.053 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3005, allocations: 7.938 kB / 1.053 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3005, allocations: 3.984 kB / 1.053 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3005, allocations: 0 / 1.053 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.3005, allocations: 4 kB / 1.053 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.3007, allocations: 153.7 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.3007, allocations: 18.58 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.3008, allocations: 4.859 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3008, allocations: 3.984 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3008, allocations: 38.62 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.3008, allocations: 3.938 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.301, allocations: 45.53 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.301, allocations: 51.41 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.3011, allocations: 113.8 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3012, allocations: 25.7 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3012, allocations: 80.14 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3012, allocations: 8.125 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3013, allocations: 17.72 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3014, allocations: 318.8 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.3014, allocations: 0 / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.3014, allocations: 17.7 kB / 1.054 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.3015, allocations: 29.72 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3015, allocations: 0 / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.487e-05/0.3016, allocations: 49.53 kB / 1.054 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3016, allocations: 13.66 kB / 1.054 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3016, allocations: 0 / 1.054 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3016, allocations: 3.938 kB / 1.054 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.3017, allocations: 8 kB / 1.054 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3017, allocations: 3.984 kB / 1.054 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.3018, allocations: 0 / 1.054 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3018, allocations: 4 kB / 1.054 GB, free: 5.66 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 7.659e-05/0.3019, allocations: 109.9 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3019, allocations: 3.938 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.302, allocations: 61.08 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.302, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.302, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.302, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.3021, allocations: 157.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3022, allocations: 0 / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.3022, allocations: 8.031 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3022, allocations: 4.188 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3022, allocations: 0 / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3022, allocations: 4 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3023, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3024, allocations: 81.05 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.3024, allocations: 77.11 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3025, allocations: 3.938 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.3025, allocations: 8.094 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.3025, allocations: 7.984 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3025, allocations: 7.922 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.3026, allocations: 83.28 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3026, allocations: 0 / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002027/0.3028, allocations: 8 kB / 1.055 GB, free: 4.945 MB / 0.8106 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 (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.0004169/0.3032, allocations: 0.6086 MB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.3033, allocations: 19.92 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3033, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.3033, allocations: 7.984 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.3035, allocations: 6.25 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3046, allocations: 1.164 MB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3048, allocations: 0.677 MB / 1.057 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.3049, allocations: 4 kB / 1.057 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.3049, allocations: 11.44 kB / 1.057 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3049, allocations: 0 / 1.057 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07019/0.3751, allocations: 1.039 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.3753, allocations: 203.5 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.306, allocations: 3.938 kB / 1.059 GB, free: 1.09 MB / 0.8106 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches