Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.005014/0.005015, allocations: 97.19 kB / 15.73 MB, free: 6.055 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.001218/0.001218, allocations: 193.1 kB / 16.67 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.08 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.266, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002065/0.2681, allocations: 1.261 MB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.2715, allocations: 2.932 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.2716, allocations: 4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2716, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2716, allocations: 7.922 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.2721, allocations: 103.5 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.2722, allocations: 35.84 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.2722, allocations: 7.938 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.2726, allocations: 163.5 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.2727, allocations: 15.92 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2727, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2729, allocations: 67.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.2729, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2729, allocations: 15.94 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.2731, allocations: 67.78 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2731, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2731, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2731, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 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.0003475/0.2735, allocations: 351.4 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2735, allocations: 12.02 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.2735, allocations: 34.75 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.2736, allocations: 4.938 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.13e-05/0.2737, allocations: 168.3 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2737, allocations: 4.375 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2737, allocations: 8.375 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2738, allocations: 53.61 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2738, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2739, allocations: 4 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2739, allocations: 3.984 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.2739, allocations: 23.97 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2741, allocations: 165.7 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.2742, allocations: 50.5 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.2742, allocations: 16.84 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.2748, allocations: 0.5985 MB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.2749, allocations: 30.56 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.2749, allocations: 3.938 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005232/0.2754, allocations: 298.6 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.2755, allocations: 59.34 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.2756, allocations: 105.8 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2756, allocations: 29.7 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.2756, allocations: 84.09 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2757, allocations: 31.73 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.2757, allocations: 25.72 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.2758, allocations: 318.8 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.2758, allocations: 12 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.724e-05/0.2759, allocations: 49.14 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.276, allocations: 77.08 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.276, allocations: 3.938 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001298/0.2761, allocations: 97.5 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2761, allocations: 8 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2761, allocations: 0 / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2762, allocations: 4 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.2762, allocations: 19.94 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2762, allocations: 0 / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.2763, allocations: 16.36 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2763, allocations: 4 kB / 1.227 GB, free: 6.809 MB / 0.9825 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 7.322e-05/0.2764, allocations: 122.4 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.2764, allocations: 0 / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2764, allocations: 7.969 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2765, allocations: 8 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2765, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2765, allocations: 4.219 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2767, allocations: 169.7 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2767, allocations: 0 / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.2768, allocations: 19.92 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2768, allocations: 3.984 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2768, allocations: 12 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2768, allocations: 0 / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2768, allocations: 0 / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.277, allocations: 179.3 kB / 1.227 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.2771, allocations: 81.11 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2771, allocations: 0 / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2772, allocations: 8.031 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2772, allocations: 7.938 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2772, allocations: 8 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.2773, allocations: 75.28 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2773, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002488/0.2775, allocations: 16 kB / 1.228 GB, free: 6.012 MB / 0.9825 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.0004194/0.278, allocations: 0.7125 MB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.2781, allocations: 51.94 kB / 1.228 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2781, allocations: 0 / 1.228 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.2781, allocations: 16 kB / 1.228 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2784, allocations: 11.88 kB / 1.228 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2797, allocations: 1.524 MB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2799, allocations: 0.6846 MB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.823e-05/0.28, allocations: 11.98 kB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.28, allocations: 15.55 kB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.28, allocations: 0 / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.2956, allocations: 1.676 MB / 1.232 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.726, allocations: 0 / 1.232 GB, free: 1.258 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches