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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 92.55 kB / 16.02 MB, free: 80 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.00144/0.00144, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.8 MB / 0.7128 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6775, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001285/0.6788, allocations: 0.9955 MB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.6826, allocations: 2.88 MB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.6826, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.6827, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.6827, allocations: 7.938 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.6832, allocations: 87.61 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.6833, allocations: 35.92 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.959e-05/0.6833, allocations: 0 / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.6837, allocations: 151.5 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.6838, allocations: 19.92 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.6838, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.684, allocations: 63.88 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.684, allocations: 8 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.6841, allocations: 49.55 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.6842, allocations: 45.84 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6842, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6842, allocations: 0 / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.6842, allocations: 0 / 1.028 GB, free: 11.51 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.0004304/0.6846, allocations: 339.5 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6847, allocations: 8.031 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.6847, allocations: 8.844 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6849, allocations: 160.4 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.6849, allocations: 384 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.6849, allocations: 8.375 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.685, allocations: 53.8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.685, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6851, allocations: 12 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.6851, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.6851, allocations: 19.91 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.6853, allocations: 161.7 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.6854, allocations: 62.62 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.6855, allocations: 20.84 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/0.6862, allocations: 0.5984 MB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.6863, allocations: 38.5 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.6863, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005669/0.6869, allocations: 290.3 kB / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.6869, allocations: 59.39 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.687, allocations: 98.09 kB / 1.03 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.687, allocations: 29.7 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.6871, allocations: 91.97 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.6871, allocations: 27.61 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.6871, allocations: 17.72 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6872, allocations: 318.8 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.6873, allocations: 12 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.6873, allocations: 57.14 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.6874, allocations: 81.19 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6874, allocations: 0 / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.6876, allocations: 93.55 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6876, allocations: 4 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6876, allocations: 4 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6876, allocations: 0 / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.6877, allocations: 24 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6877, allocations: 3.984 kB / 1.031 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.6878, allocations: 7.938 kB / 1.031 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.6878, allocations: 4 kB / 1.031 GB, free: 8.43 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 8.765e-05/0.6879, allocations: 126.3 kB / 1.031 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.6879, allocations: 7.906 kB / 1.031 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.688, allocations: 7.969 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.688, allocations: 3.938 kB / 1.031 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.688, allocations: 4 kB / 1.031 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.688, allocations: 3.938 kB / 1.031 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.6883, allocations: 173.7 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6883, allocations: 0 / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.6884, allocations: 15.98 kB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6884, allocations: 0 / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6884, allocations: 4 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6884, allocations: 4.078 kB / 1.031 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6884, allocations: 4.422 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.6886, allocations: 175.4 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.6887, allocations: 85.02 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.6887, allocations: 0 / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.6888, allocations: 12.03 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.6888, allocations: 4 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6889, allocations: 11.94 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.6889, allocations: 75.28 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6889, allocations: 0 / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002495/0.6892, allocations: 16 kB / 1.031 GB, free: 7.617 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.0001419/0.6893, allocations: 103.2 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.6894, allocations: 44.28 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6894, allocations: 4.25 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.6895, allocations: 16 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.6897, allocations: 4 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.6903, allocations: 416.1 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.6906, allocations: 0.6848 MB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.6906, allocations: 11.44 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6906, allocations: 0 / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.002271/0.6929, allocations: 0.7766 MB / 1.033 GB, free: 5.504 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/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