Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_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.004841/0.004841, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.001104/0.001104, allocations: 196.5 kB / 16.68 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6938, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001479/0.6953, allocations: 0.5227 MB / 1.088 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.6954, allocations: 42.69 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.6955, allocations: 1.656 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.6955, allocations: 1.094 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.6956, allocations: 7.703 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-05/0.6957, allocations: 10.72 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.6957, allocations: 19.06 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.6958, allocations: 2.984 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.6958, allocations: 7.578 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.6959, allocations: 10.64 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.6959, allocations: 4 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.6959, allocations: 1.094 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.696, allocations: 8.094 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.696, allocations: 1.953 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.228e-05/0.696, allocations: 14.61 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6961, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6961, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6961, allocations: 1.281 kB / 1.088 GB, free: 4.891 MB / 0.8575 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.000285/0.6964, allocations: 330.1 kB / 1.088 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6964, allocations: 10.09 kB / 1.088 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.817e-05/0.6964, allocations: 35.45 kB / 1.088 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.934e-05/0.6964, allocations: 1.906 kB / 1.088 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6966, allocations: 168.6 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.6966, allocations: 2.156 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6966, allocations: 12.28 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.923e-05/0.6967, allocations: 36.19 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.6967, allocations: 5.312 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.6967, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.6967, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.6967, allocations: 8.422 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.403e-05/0.6968, allocations: 155.8 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.6969, allocations: 20.02 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.6969, allocations: 8.281 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.6969, allocations: 5.031 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.6969, allocations: 36.12 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.6969, allocations: 4 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001111/0.697, allocations: 43.98 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.6971, allocations: 56.44 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.6971, allocations: 113.1 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.6971, allocations: 26.36 kB / 1.089 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.6972, allocations: 81.83 kB / 1.089 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.6972, allocations: 1.062 kB / 1.089 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.6972, allocations: 17.36 kB / 1.089 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.6972, allocations: 316.8 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.6973, allocations: 4.453 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.6973, allocations: 23.56 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.6973, allocations: 19.2 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6973, allocations: 0 / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.202e-05/0.6974, allocations: 62.41 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6974, allocations: 9.125 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6974, allocations: 0.9375 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6974, allocations: 1.609 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.6975, allocations: 3.891 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6975, allocations: 5.594 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.6975, allocations: 1.062 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.6975, allocations: 1.875 kB / 1.09 GB, free: 3.215 MB / 0.8575 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 5.225e-05/0.6976, allocations: 108.5 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.6976, allocations: 10.27 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-05/0.6977, allocations: 57.11 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6977, allocations: 1.344 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.6977, allocations: 0 / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6977, allocations: 0.7969 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.882e-05/0.6978, allocations: 154.9 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6978, allocations: 1.25 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.6978, allocations: 3.484 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6979, allocations: 8.891 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.6979, allocations: 0.9062 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6979, allocations: 5.125 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6979, allocations: 4 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.535e-05/0.698, allocations: 80.75 kB / 1.09 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.698, allocations: 85.08 kB / 1.09 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.698, allocations: 5.062 kB / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.698, allocations: 5.703 kB / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.6981, allocations: 1.891 kB / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6981, allocations: 5.953 kB / 1.09 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.6981, allocations: 89.08 kB / 1.09 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6981, allocations: 0 / 1.09 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00018/0.6983, allocations: 2.188 kB / 1.09 GB, free: 2.574 MB / 0.8575 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.0002169/0.6985, allocations: 0.6143 MB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.6986, allocations: 19.95 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6986, allocations: 0 / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/0.6986, allocations: 7.047 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.6988, allocations: 2.219 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.6996, allocations: 1.149 MB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.6998, allocations: 0.6782 MB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.6998, allocations: 7.203 kB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.6998, allocations: 13.89 kB / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.6999, allocations: 0 / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.7145, allocations: 1.18 MB / 1.094 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.871, allocations: 8.984 kB / 1.094 GB, free: 15.76 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches