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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.00692/0.00692, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001604/0.001604, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 472.7 MB / 0.7453 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2745, allocations: 159.9 MB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00166/0.2762, allocations: 0.5366 MB / 1.226 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.2763, allocations: 23.91 kB / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.2764, allocations: 0 / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2764, allocations: 0 / 1.226 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2766, allocations: 4 kB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.2766, allocations: 3.938 kB / 1.226 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.2766, allocations: 3.984 kB / 1.226 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.2767, allocations: 4 kB / 1.226 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.2767, allocations: 0 / 1.226 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.2768, allocations: 7.938 kB / 1.226 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2768, allocations: 0 / 1.226 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-06/0.2768, allocations: 4 kB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2768, allocations: 3.984 kB / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.2768, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.354e-05/0.2769, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2769, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2769, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2769, allocations: 0 / 1.226 GB, free: 9.094 MB / 0.9825 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.0002737/0.2772, allocations: 323.5 kB / 1.226 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2772, allocations: 12.03 kB / 1.226 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.2773, allocations: 34.69 kB / 1.226 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.2773, allocations: 4.875 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.2774, allocations: 160.4 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2774, allocations: 4.375 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.2774, allocations: 384 / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/0.2775, allocations: 47.97 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.2775, allocations: 3.938 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.2775, allocations: 4 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2776, allocations: 0 / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.2776, allocations: 7.938 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.2777, allocations: 158.5 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.2778, allocations: 35.39 kB / 1.227 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.2778, allocations: 25.78 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2779, allocations: 0 / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2779, allocations: 30.56 kB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2779, allocations: 0 / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.278, allocations: 57.5 kB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.2781, allocations: 77.11 kB / 1.227 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.2782, allocations: 94.11 kB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2782, allocations: 25.7 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.2782, allocations: 80.14 kB / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2782, allocations: 7.953 kB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.2783, allocations: 17.7 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2784, allocations: 314.8 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.2784, allocations: 0 / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.2784, allocations: 17.84 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.2785, allocations: 21.66 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2785, allocations: 0 / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.511e-05/0.2785, allocations: 37.69 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2786, allocations: 13.66 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2786, allocations: 0 / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2786, allocations: 3.938 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.2787, allocations: 8.125 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2787, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.2787, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.2787, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 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 6.807e-05/0.2788, allocations: 122.3 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2788, allocations: 7.922 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2789, allocations: 52.7 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2789, allocations: 4.062 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.279, allocations: 4 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.279, allocations: 4 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.2791, allocations: 141.7 kB / 1.228 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2791, allocations: 4 kB / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.2791, allocations: 3.984 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2791, allocations: 7.938 kB / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2791, allocations: 0 / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2791, allocations: 0 / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2791, allocations: 0 / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.2792, allocations: 77.92 kB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.2793, allocations: 77.11 kB / 1.228 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2793, allocations: 7.938 kB / 1.228 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.2793, allocations: 0 / 1.228 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.2793, allocations: 4 kB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2793, allocations: 0 / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.2794, allocations: 79.31 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.2794, allocations: 0 / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002035/0.2796, allocations: 4 kB / 1.228 GB, free: 6.535 MB / 0.9825 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.0003169/0.2799, allocations: 0.6055 MB / 1.228 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.28, allocations: 15.98 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.28, allocations: 0 / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.28, allocations: 7.938 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.2802, allocations: 4 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.2805, allocations: 119.4 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2807, allocations: 0.6731 MB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.2807, allocations: 4 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.2807, allocations: 7.438 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2807, allocations: 0 / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.2972, allocations: 0.9406 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.628, allocations: 6.672 kB / 1.23 GB, free: 4.137 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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