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.001193/0.001193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001436/0.001436, allocations: 194.2 kB / 16.25 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.72/2.72, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7917, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002143/0.7939, allocations: 1.323 MB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.7972, allocations: 2.915 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.7972, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.7972, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.7973, allocations: 11.91 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.7978, allocations: 95.56 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.7979, allocations: 31.91 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.7979, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.7984, allocations: 155.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.7985, allocations: 15.92 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7985, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.7986, allocations: 63.88 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.7987, allocations: 11.92 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.7987, allocations: 11.94 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.7989, allocations: 69.81 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7989, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7989, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.7989, allocations: 8 kB / 1.021 GB, free: 13.98 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.0004308/0.7993, allocations: 343.5 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7994, allocations: 8.031 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.7994, allocations: 8.844 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7995, allocations: 160.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7996, allocations: 384 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.7996, allocations: 8.375 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.7997, allocations: 61.73 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.7998, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7998, allocations: 8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7998, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.7998, allocations: 15.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.8, allocations: 169.6 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.8001, allocations: 50.56 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.8002, allocations: 20.84 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007643/0.8009, allocations: 0.5906 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.801, allocations: 38.56 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.801, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005844/0.8016, allocations: 295 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8016, allocations: 51.41 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.8017, allocations: 101.8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.8017, allocations: 33.7 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.8018, allocations: 91.92 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.8018, allocations: 27.61 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.8019, allocations: 25.72 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.802, allocations: 322.7 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.802, allocations: 16 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.8021, allocations: 61.08 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.8021, allocations: 69.27 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8022, allocations: 8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.8023, allocations: 89.55 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8023, allocations: 7.984 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.8023, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8023, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.8024, allocations: 16 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.8025, allocations: 7.938 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.8025, allocations: 7.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8025, allocations: 4 kB / 1.024 GB, free: 10.89 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.166e-05/0.8026, allocations: 126.4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.8026, allocations: 7.906 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.8027, allocations: 7.969 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8027, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8027, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8027, allocations: 3.938 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.8029, allocations: 169.7 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8029, allocations: 4 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.803, allocations: 19.98 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.803, allocations: 7.938 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.803, allocations: 0 / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8031, allocations: 0 / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8031, allocations: 0 / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.8032, allocations: 175.4 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.8033, allocations: 85.05 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.8033, allocations: 4 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.8034, allocations: 4 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.8034, allocations: 11.98 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8035, allocations: 3.938 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.8035, allocations: 79.28 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8035, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002403/0.8037, allocations: 16 kB / 1.025 GB, free: 10.09 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.0001178/0.8039, allocations: 103.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.804, allocations: 51.98 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.804, allocations: 0 / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.804, allocations: 16 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.8043, allocations: 11.94 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.8049, allocations: 330.7 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8051, allocations: 0.6923 MB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.568e-05/0.8052, allocations: 4 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.8052, allocations: 11.44 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8052, allocations: 4 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of Templates: time 0.002702/0.8079, allocations: 0.624 MB / 1.026 GB, free: 8.191 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