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: 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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.001722/0.001723, allocations: 196.6 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.381/1.381, 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.633/2.633, allocations: 437 MB / 0.7103 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6692, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002404/0.6717, allocations: 1.262 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.6751, allocations: 2.926 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.6751, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.6751, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.6752, allocations: 7.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.6757, allocations: 99.53 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.6757, allocations: 39.91 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.6758, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.6762, allocations: 159.4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.6763, allocations: 15.92 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.6763, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.6764, allocations: 67.89 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.6765, allocations: 11.97 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.6765, allocations: 11.94 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.6767, allocations: 61.83 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6767, allocations: 7.984 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6767, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.6767, allocations: 0 / 1.022 GB, free: 13.78 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.000413/0.6771, allocations: 347.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6771, allocations: 12.03 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.6772, allocations: 0.9375 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6773, allocations: 176.2 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.6773, allocations: 384 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.6774, allocations: 8.375 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.6775, allocations: 57.8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.6775, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6775, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.6775, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.937e-05/0.6776, allocations: 11.98 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.6777, allocations: 165.6 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.6778, allocations: 66.53 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.6779, allocations: 16.86 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/0.6786, allocations: 0.5907 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6787, allocations: 34.56 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6787, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005859/0.6793, allocations: 298.5 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.6793, allocations: 55.34 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.6794, allocations: 98.03 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6794, allocations: 29.7 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.6795, allocations: 99.95 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.6795, allocations: 15.72 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.6795, allocations: 33.61 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6797, allocations: 318.8 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.6797, allocations: 19.98 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.6798, allocations: 53.14 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.6798, allocations: 77.27 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6799, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001287/0.68, allocations: 93.55 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.68, allocations: 4 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.68, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.68, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.6801, allocations: 23.92 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6801, allocations: 4 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.6802, allocations: 12.06 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.6802, allocations: 4 kB / 1.024 GB, free: 10.67 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 9.275e-05/0.6803, allocations: 121.7 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.6803, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.6803, allocations: 11.97 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6804, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6804, allocations: 7.922 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6804, allocations: 3.938 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.6806, allocations: 169.7 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6806, allocations: 4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.6807, allocations: 16 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6807, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6807, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6808, allocations: 3.938 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6808, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.6809, allocations: 179.3 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.681, allocations: 89.05 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.681, allocations: 4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6812, allocations: 8.25 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.6812, allocations: 4 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.6812, allocations: 11.92 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.6813, allocations: 79.28 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6813, allocations: 0 / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004383/0.6818, allocations: 12 kB / 1.025 GB, free: 9.863 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.0001545/0.6819, allocations: 107.3 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.6821, allocations: 44.34 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.6821, allocations: 0 / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.6821, allocations: 23.92 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.6824, allocations: 4.219 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.683, allocations: 326.3 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.6832, allocations: 0.6885 MB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.6833, allocations: 3.984 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.6833, allocations: 11.44 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6833, allocations: 0 / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.002819/0.6862, allocations: 0.6237 MB / 1.027 GB, free: 7.984 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches