Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_10_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.00113/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6581, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005893/0.6641, allocations: 4.719 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.6666, allocations: 2.71 MB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.6667, allocations: 0 / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.667, allocations: 51.67 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.6673, allocations: 91.42 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.6684, allocations: 0.5015 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.6686, allocations: 228 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.6687, allocations: 13.55 kB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.6688, allocations: 119.5 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.669, allocations: 87.67 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.669, allocations: 8 kB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.6697, allocations: 371.3 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.6698, allocations: 35.89 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.6699, allocations: 83.58 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.6704, allocations: 357.4 kB / 1.027 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6704, allocations: 0 / 1.027 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6704, allocations: 0 / 1.027 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.6705, allocations: 0 / 1.027 GB, free: 9.078 MB / 0.7794 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.0007158/0.6712, allocations: 0.4993 MB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6712, allocations: 12.03 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.6713, allocations: 50.73 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.6714, allocations: 28.69 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.6717, allocations: 220 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.6717, allocations: 8.703 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.6717, allocations: 16.38 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.6721, allocations: 248 kB / 1.028 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6721, allocations: 4 kB / 1.028 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.6721, allocations: 8 kB / 1.028 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.6722, allocations: 8 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.6726, allocations: 435.3 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.6737, allocations: 0.941 MB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.674, allocations: 161.5 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.6741, allocations: 64.83 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.6754, allocations: 1.821 MB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.6754, allocations: 38.55 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.6754, allocations: 0 / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003417/0.6757, allocations: 149.3 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6758, allocations: 55.41 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.676, allocations: 178.2 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.676, allocations: 33.7 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.6761, allocations: 143.8 kB / 1.031 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.6761, allocations: 43.36 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.6762, allocations: 57.59 kB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6764, allocations: 322.8 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.6764, allocations: 31.98 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.6766, allocations: 146.1 kB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.6768, allocations: 199.3 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6769, allocations: 0 / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003323/0.6772, allocations: 221.1 kB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6772, allocations: 4 kB / 1.032 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6772, allocations: 4 kB / 1.032 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.6773, allocations: 11.94 kB / 1.032 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.6775, allocations: 47.92 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.6775, allocations: 7.938 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6776, allocations: 24.22 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.6776, allocations: 27.97 kB / 1.033 GB, free: 2.133 MB / 0.7794 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.0001095/0.6777, allocations: 129.7 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.6778, allocations: 11.91 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.6781, allocations: 160.4 kB / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.6781, allocations: 3.938 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6781, allocations: 0 / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6781, allocations: 7.922 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.6783, allocations: 209.6 kB / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6783, allocations: 4 kB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.6784, allocations: 27.98 kB / 1.033 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6785, allocations: 4 kB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.6785, allocations: 0 / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6785, allocations: 3.938 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6785, allocations: 0 / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.6787, allocations: 228.2 kB / 1.033 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.6788, allocations: 108.8 kB / 1.033 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.6788, allocations: 8 kB / 1.033 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.679, allocations: 15.92 kB / 1.033 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.6791, allocations: 15.98 kB / 1.033 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6791, allocations: 11.92 kB / 1.033 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.3e-05/0.6792, allocations: 121.4 kB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6792, allocations: 0 / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000366/0.6795, allocations: 76 kB / 1.034 GB, free: 0.918 MB / 0.7794 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.0007211/0.6803, allocations: 0.8379 MB / 1.034 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.6806, allocations: 125.8 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6806, allocations: 4 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.6806, allocations: 43.92 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.6811, allocations: 49.77 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6831, allocations: 2.022 MB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.6833, allocations: 0.7168 MB / 1.037 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6835, allocations: 49.73 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.6836, allocations: 47.42 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.6836, allocations: 3.938 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.7068, allocations: 5.193 MB / 1.043 GB, free: 7.699 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/8.205, allocations: 7.266 kB / 1.043 GB, free: 7.695 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches