Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 148 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.00114/0.00114, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.589/2.589, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5399, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002436/0.5424, allocations: 1.266 MB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003747/0.5462, allocations: 2.934 MB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.5462, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.5463, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.5463, allocations: 11.92 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.5469, allocations: 99.48 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.547, allocations: 31.91 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.5471, allocations: 11.98 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.5476, allocations: 147.5 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.5476, allocations: 23.91 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.5476, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.5478, allocations: 71.81 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.5479, allocations: 7.984 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.5479, allocations: 11.94 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.5481, allocations: 66.09 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5481, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5481, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.5481, allocations: 0 / 1.022 GB, free: 13.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003825/0.5485, allocations: 343.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5485, allocations: 16.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.5486, allocations: 34.75 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.5486, allocations: 8.844 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.5487, allocations: 164.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5488, allocations: 4.375 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.5488, allocations: 384 / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5489, allocations: 61.61 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5489, allocations: 4 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5489, allocations: 3.938 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.549, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.549, allocations: 23.97 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.5492, allocations: 165.6 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.806e-05/0.5493, allocations: 46.5 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.5493, allocations: 24.84 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/0.55, allocations: 0.5948 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.55, allocations: 30.56 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5501, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006058/0.5507, allocations: 294.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.5507, allocations: 59.34 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.5508, allocations: 105.8 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5508, allocations: 29.64 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.5509, allocations: 91.98 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.5509, allocations: 31.67 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.5509, allocations: 21.72 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.551, allocations: 318.8 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.5511, allocations: 16 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.5511, allocations: 49.14 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.5512, allocations: 81.08 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5512, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.5514, allocations: 97.72 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5514, allocations: 4 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5514, allocations: 4.438 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5514, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.5515, allocations: 19.94 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5515, allocations: 4 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.5516, allocations: 16.05 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5516, allocations: 8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.893e-05/0.5516, allocations: 117.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.5517, allocations: 7.906 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.5517, allocations: 11.91 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5517, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5517, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5517, allocations: 7.938 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.552, allocations: 169.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.552, allocations: 4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.176e-05/0.5521, allocations: 15.98 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5521, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5521, allocations: 3.938 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.5521, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5521, allocations: 7.938 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5523, allocations: 171.5 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.5523, allocations: 88.95 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.5523, allocations: 4 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.5524, allocations: 4.031 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.5525, allocations: 7.938 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.5525, allocations: 4 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.5525, allocations: 79.28 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5525, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002374/0.5528, allocations: 12 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003723/0.5531, allocations: 0.7127 MB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.5533, allocations: 51.89 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5533, allocations: 0 / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.5533, allocations: 16 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.5536, allocations: 7.938 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5549, allocations: 1.536 MB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.5551, allocations: 0.6807 MB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.64e-05/0.5551, allocations: 7.984 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.5552, allocations: 11.44 kB / 1.028 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5552, allocations: 4 kB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.5753, allocations: 1.631 MB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/8.031, allocations: 17.5 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches