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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001505/0.001506, allocations: 193.8 kB / 16.14 MB, free: 6.629 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.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.871/2.871, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7366, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002952/0.7397, allocations: 1.334 MB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.744, allocations: 2.926 MB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.744, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.7441, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.7441, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.7446, allocations: 95.61 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.7447, allocations: 39.86 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.7448, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.7453, allocations: 147.6 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.7454, allocations: 19.92 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.7454, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.7456, allocations: 67.81 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.7456, allocations: 11.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.7456, allocations: 15.94 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.7458, allocations: 65.81 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7458, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.81e-07/0.7458, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.7459, allocations: 0 / 1.021 GB, free: 14.11 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.0004842/0.7463, allocations: 343.5 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.7464, allocations: 8.031 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.7464, allocations: 8.844 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.7466, allocations: 172.3 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.7466, allocations: 4.375 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.7466, allocations: 8.375 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.7468, allocations: 57.78 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7468, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.7468, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.7469, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.7469, allocations: 19.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.7471, allocations: 169.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.7472, allocations: 54.48 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.7473, allocations: 12.86 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.7481, allocations: 0.5984 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7482, allocations: 30.56 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.7482, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00065/0.7488, allocations: 294.6 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.7489, allocations: 59.41 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.749, allocations: 93.86 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.749, allocations: 33.64 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.7491, allocations: 91.97 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7491, allocations: 27.56 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.7492, allocations: 33.7 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7493, allocations: 314.8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.7493, allocations: 15.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.7494, allocations: 53.52 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.7495, allocations: 77.09 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7495, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001515/0.7497, allocations: 93.55 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7497, allocations: 10.03 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7497, allocations: 128 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7497, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.7498, allocations: 27.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7498, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.7499, allocations: 11.94 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.7499, allocations: 4 kB / 1.024 GB, free: 11 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.494e-05/0.75, allocations: 113.8 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.75, allocations: 8.188 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.7501, allocations: 11.91 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7501, allocations: 11.98 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7501, allocations: 3.984 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7501, allocations: 3.938 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.7504, allocations: 169.7 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.7504, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.7505, allocations: 12 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.7505, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7505, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7505, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7505, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.7507, allocations: 175.5 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.7508, allocations: 96.92 kB / 1.024 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7508, allocations: 0 / 1.024 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.7509, allocations: 4 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.751, allocations: 0 / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.751, allocations: 15.92 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.751, allocations: 75.28 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7511, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002416/0.7513, allocations: 20 kB / 1.025 GB, free: 10.2 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.0001648/0.7515, allocations: 99.78 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.7516, allocations: 43.98 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7516, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.7516, allocations: 19.92 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.752, allocations: 8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.7526, allocations: 332.5 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.7529, allocations: 0.6886 MB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.178e-05/0.753, allocations: 11.97 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.753, allocations: 15.44 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.753, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of Templates: time 0.003362/0.7564, allocations: 0.5936 MB / 1.026 GB, free: 8.336 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=400 -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