Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",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.007906/0.007906, allocations: 97.62 kB / 15.73 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.002076/0.002076, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7795/0.7814, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006562/0.788, allocations: 4.716 MB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003453/0.7915, allocations: 2.698 MB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.7917, allocations: 0 / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.792, allocations: 51.66 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.7924, allocations: 95.38 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.7938, allocations: 0.5037 MB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.7941, allocations: 231.9 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.7942, allocations: 17.55 kB / 1.228 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.7944, allocations: 115.6 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.7946, allocations: 91.61 kB / 1.229 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.7947, allocations: 8 kB / 1.229 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.7954, allocations: 359.4 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.7956, allocations: 39.89 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.7957, allocations: 83.53 kB / 1.229 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.7964, allocations: 358.7 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7964, allocations: 0 / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7964, allocations: 0 / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7964, allocations: 4 kB / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007818/0.7972, allocations: 0.5025 MB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7972, allocations: 8.031 kB / 1.23 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.7973, allocations: 54.73 kB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.7975, allocations: 24.83 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.7978, allocations: 220.1 kB / 1.23 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7978, allocations: 12.64 kB / 1.23 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.7979, allocations: 20.38 kB / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.7983, allocations: 244 kB / 1.23 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7983, allocations: 0 / 1.23 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.7983, allocations: 12 kB / 1.23 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.7984, allocations: 7.938 kB / 1.23 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.7989, allocations: 432.1 kB / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.8002, allocations: 0.945 MB / 1.232 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.8005, allocations: 163 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.8007, allocations: 67.28 kB / 1.232 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/0.8023, allocations: 1.825 MB / 1.234 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.8024, allocations: 34.56 kB / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.8024, allocations: 0 / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003417/0.8028, allocations: 153.4 kB / 1.234 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8028, allocations: 55.34 kB / 1.234 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.803, allocations: 175.3 kB / 1.234 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.803, allocations: 25.7 kB / 1.234 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.8031, allocations: 148 kB / 1.234 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.8032, allocations: 55.53 kB / 1.234 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.8033, allocations: 57.59 kB / 1.234 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8034, allocations: 326.8 kB / 1.235 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.8035, allocations: 43.92 kB / 1.235 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.8037, allocations: 138.2 kB / 1.235 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.8039, allocations: 208.7 kB / 1.235 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.804, allocations: 7.938 kB / 1.235 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003264/0.8043, allocations: 205.3 kB / 1.235 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8043, allocations: 4 kB / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8043, allocations: 4.469 kB / 1.235 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.8043, allocations: 11.94 kB / 1.235 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.8045, allocations: 59.91 kB / 1.235 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.8046, allocations: 4 kB / 1.235 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.8047, allocations: 31.73 kB / 1.235 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.8047, allocations: 12 kB / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001216/0.8048, allocations: 133.7 kB / 1.236 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.8049, allocations: 15.95 kB / 1.236 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.8052, allocations: 159 kB / 1.236 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.8052, allocations: 7.938 kB / 1.236 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8052, allocations: 0 / 1.236 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8053, allocations: 3.938 kB / 1.236 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.8055, allocations: 213.6 kB / 1.236 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8055, allocations: 0 / 1.236 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/0.8056, allocations: 27.92 kB / 1.236 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.8057, allocations: 4 kB / 1.236 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.8057, allocations: 4 kB / 1.236 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8057, allocations: 3.938 kB / 1.236 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8057, allocations: 0 / 1.236 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.806, allocations: 222.2 kB / 1.236 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.8061, allocations: 113 kB / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.8061, allocations: 0 / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.8063, allocations: 19.92 kB / 1.236 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.8064, allocations: 11.92 kB / 1.236 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.8064, allocations: 16 kB / 1.236 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000101/0.8065, allocations: 116 kB / 1.236 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.104e-06/0.8065, allocations: 0 / 1.236 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003991/0.8069, allocations: 95.72 kB / 1.237 GB, free: 424 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009406/0.8079, allocations: 0.8143 MB / 1.237 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.8081, allocations: 123.7 kB / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8081, allocations: 0 / 1.237 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.8082, allocations: 50.86 kB / 1.237 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.8087, allocations: 55.28 kB / 1.238 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.8116, allocations: 2.046 MB / 1.24 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.8122, allocations: 0.7128 MB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.8124, allocations: 49.8 kB / 1.24 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.8125, allocations: 43.42 kB / 1.24 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.637e-06/0.8125, allocations: 0 / 1.24 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.8441, allocations: 5.245 MB / 1.245 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/9.268, allocations: 10.75 kB / 1.245 GB, free: 7.145 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_WaterProperties.fmu > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches