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.007239/0.007238, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001876/0.001876, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.43 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.569/2.569, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 63.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6864, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00272/0.6891, allocations: 1.327 MB / 1.019 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003867/0.693, allocations: 2.934 MB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.6931, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.6931, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.6932, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.6937, allocations: 91.67 kB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.6938, allocations: 43.78 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.6938, allocations: 4 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.6943, allocations: 139.7 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.6944, allocations: 19.91 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.6944, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.6946, allocations: 63.83 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.6946, allocations: 7.984 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.6947, allocations: 15.92 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.6948, allocations: 45.91 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6948, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6948, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6949, allocations: 4 kB / 1.022 GB, free: 14.07 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.0004508/0.6953, allocations: 347.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6954, allocations: 8.031 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.6954, allocations: 8.844 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.6955, allocations: 160.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.6956, allocations: 8.312 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.6956, allocations: 8.375 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.6957, allocations: 53.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6958, allocations: 11.86 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6958, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6958, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.6959, allocations: 19.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.696, allocations: 161.7 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.357e-05/0.6962, allocations: 58.5 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.6962, allocations: 16.84 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.6969, allocations: 0.5947 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.697, allocations: 34.56 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.697, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006744/0.6977, allocations: 294.3 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6977, allocations: 55.41 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.6978, allocations: 97.84 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6978, allocations: 33.7 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.6979, allocations: 87.98 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.6979, allocations: 31.67 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.698, allocations: 29.66 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6981, allocations: 322.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.6982, allocations: 12 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.6982, allocations: 49.14 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.6983, allocations: 77.08 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.6983, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001418/0.6985, allocations: 89.98 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6985, allocations: 9.344 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6985, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6985, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.6986, allocations: 24.06 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6986, allocations: 8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.6987, allocations: 7.938 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.6987, allocations: 4 kB / 1.024 GB, free: 10.97 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.947e-05/0.6988, allocations: 122.3 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.6988, allocations: 7.906 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.6989, allocations: 8.25 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6989, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6989, allocations: 0 / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6989, allocations: 15.86 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.6992, allocations: 169.7 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6992, allocations: 4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.6993, allocations: 15.98 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6993, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.6993, allocations: 4 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6993, allocations: 3.938 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6993, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.6995, allocations: 179.5 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.6996, allocations: 81.02 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6996, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6997, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.6997, allocations: 11.92 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.6998, allocations: 7.938 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.6998, allocations: 79.28 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6998, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002551/0.7001, allocations: 16 kB / 1.025 GB, free: 10.16 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.0001365/0.7002, allocations: 103.2 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.7003, allocations: 43.92 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7003, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.7004, allocations: 15.94 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.7007, allocations: 8 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.7013, allocations: 358.1 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.7016, allocations: 0.6887 MB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.7017, allocations: 11.44 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7017, allocations: 0 / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of Templates: time 0.002177/0.7038, allocations: 0.7774 MB / 1.027 GB, free: 8.102 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