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.004838/0.004838, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.001297/0.001297, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.798/2.798, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3276, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006366/0.334, allocations: 4.719 MB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003354/0.3374, allocations: 2.687 MB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3376, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.3379, allocations: 47.69 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.3382, allocations: 99.34 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3397, allocations: 0.5049 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.34, allocations: 235.9 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.34, allocations: 13.55 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3403, allocations: 123.6 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3405, allocations: 87.61 kB / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3405, allocations: 8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/0.3413, allocations: 363.3 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.3414, allocations: 43.83 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.3415, allocations: 75.66 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.3421, allocations: 359.1 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3422, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3422, allocations: 4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3422, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 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.0009104/0.3431, allocations: 0.5103 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3431, allocations: 12.03 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.002e-05/0.3432, allocations: 54.67 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.3434, allocations: 24.84 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3438, allocations: 204.2 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3438, allocations: 16.7 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3438, allocations: 16.38 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.3442, allocations: 244.1 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3443, allocations: 4 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.3443, allocations: 11.94 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.3443, allocations: 11.98 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.3449, allocations: 423.5 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3462, allocations: 0.9566 MB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.3465, allocations: 158.9 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3466, allocations: 64.88 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.3483, allocations: 1.829 MB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3483, allocations: 38.56 kB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3483, allocations: 0 / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003466/0.3487, allocations: 145.4 kB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3487, allocations: 55.41 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3489, allocations: 175.9 kB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.349, allocations: 33.7 kB / 1.18 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.3491, allocations: 144 kB / 1.18 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3491, allocations: 51.53 kB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.3492, allocations: 53.69 kB / 1.18 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3493, allocations: 326.8 kB / 1.181 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.3494, allocations: 35.91 kB / 1.181 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3496, allocations: 143.2 kB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3499, allocations: 203.3 kB / 1.181 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3499, allocations: 3.938 kB / 1.181 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003484/0.3502, allocations: 219.8 kB / 1.181 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3502, allocations: 4 kB / 1.181 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3503, allocations: 4 kB / 1.181 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3503, allocations: 11.94 kB / 1.181 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3505, allocations: 52.39 kB / 1.181 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.3505, allocations: 15.91 kB / 1.181 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3506, allocations: 31.78 kB / 1.181 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3506, allocations: 12 kB / 1.181 GB, free: 6.906 MB / 0.9356 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.0001199/0.3508, allocations: 135.9 kB / 1.182 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3508, allocations: 15.91 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3511, allocations: 159 kB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.3512, allocations: 3.938 kB / 1.182 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3512, allocations: 4 kB / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3512, allocations: 0 / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3515, allocations: 217.6 kB / 1.182 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3515, allocations: 3.938 kB / 1.182 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.3516, allocations: 23.94 kB / 1.182 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3516, allocations: 0 / 1.182 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3516, allocations: 7.984 kB / 1.182 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.3516, allocations: 11.94 kB / 1.182 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3516, allocations: 0 / 1.182 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3519, allocations: 215.4 kB / 1.182 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.352, allocations: 112.9 kB / 1.182 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.352, allocations: 7.984 kB / 1.182 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3523, allocations: 11.94 kB / 1.182 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.3523, allocations: 11.98 kB / 1.182 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3523, allocations: 11.98 kB / 1.182 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.91e-05/0.3524, allocations: 123.9 kB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3524, allocations: 0 / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004524/0.3529, allocations: 79.86 kB / 1.183 GB, free: 5.672 MB / 0.9356 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.0008288/0.3537, allocations: 0.8303 MB / 1.183 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.354, allocations: 118.8 kB / 1.183 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.354, allocations: 0 / 1.183 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.3541, allocations: 43.92 kB / 1.183 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3545, allocations: 56.77 kB / 1.184 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.357, allocations: 2.039 MB / 1.186 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3574, allocations: 0.7129 MB / 1.186 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.3575, allocations: 49.78 kB / 1.186 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.3576, allocations: 47.42 kB / 1.186 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3576, allocations: 0 / 1.186 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3871, allocations: 5.244 MB / 1.191 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.573, allocations: 3.938 kB / 1.191 GB, free: 12.41 MB / 0.9512 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