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.005016/0.005016, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001301/0.001301, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.742/2.742, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 59.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3201, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002374/0.3225, allocations: 1.25 MB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003807/0.3264, allocations: 2.942 MB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.3264, allocations: 4 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.3264, allocations: 3.938 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.3265, allocations: 3.984 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.327, allocations: 95.55 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.3271, allocations: 39.86 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3271, allocations: 7.984 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.3276, allocations: 155.5 kB / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.3277, allocations: 19.91 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3277, allocations: 4 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3279, allocations: 63.88 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.3279, allocations: 0 / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.3279, allocations: 23.91 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3281, allocations: 64.03 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3281, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3281, allocations: 4 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3281, allocations: 0 / 1.171 GB, free: 2.602 MB / 0.92 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.0004773/0.3286, allocations: 351.4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3287, allocations: 8.031 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.3287, allocations: 30.75 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3288, allocations: 8.938 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3289, allocations: 164.4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3289, allocations: 8.312 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.329, allocations: 16.33 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3291, allocations: 53.61 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3291, allocations: 7.875 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3292, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3292, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.3292, allocations: 19.97 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.3294, allocations: 161.7 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.3295, allocations: 46.56 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.3296, allocations: 24.84 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008438/0.3304, allocations: 0.6025 MB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3305, allocations: 34.56 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3305, allocations: 0 / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0005893/0.3311, allocations: 302.3 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3311, allocations: 55.39 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.3312, allocations: 101.8 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3312, allocations: 25.7 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3313, allocations: 84.09 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3313, allocations: 31.73 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3314, allocations: 25.72 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3315, allocations: 318.8 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.3316, allocations: 16 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.3317, allocations: 57.08 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.3318, allocations: 73.08 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3318, allocations: 0 / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001488/0.3319, allocations: 93.5 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3319, allocations: 11.94 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.332, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.332, allocations: 4 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.3321, allocations: 23.98 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3321, allocations: 3.938 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3321, allocations: 12.06 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.3321, allocations: 4.438 kB / 1.173 GB, free: 15.44 MB / 0.9356 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 8.357e-05/0.3322, allocations: 113.8 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3322, allocations: 0 / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3323, allocations: 7.969 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3323, allocations: 4 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3323, allocations: 0 / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3323, allocations: 7.938 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3326, allocations: 177.7 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3326, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.3327, allocations: 19.92 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3327, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3327, allocations: 7.938 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3327, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3327, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.3329, allocations: 171.4 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.333, allocations: 81.48 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.333, allocations: 4 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.3331, allocations: 12.03 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.3331, allocations: 3.938 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.3332, allocations: 7.984 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.3332, allocations: 79.27 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3332, allocations: 4 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002358/0.3335, allocations: 12 kB / 1.174 GB, free: 14.64 MB / 0.9356 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.0005019/0.334, allocations: 0.7126 MB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3341, allocations: 39.92 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3341, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.3341, allocations: 19.94 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3345, allocations: 17.84 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.336, allocations: 1.524 MB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3363, allocations: 0.6807 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.3364, allocations: 7.984 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.3364, allocations: 15.44 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3364, allocations: 4 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.3604, allocations: 1.67 MB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.342, allocations: 17.91 kB / 1.179 GB, free: 9.883 MB / 0.9356 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