Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001404/0.001404, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.19 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005198/0.3258, allocations: 3.73 MB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.3261, allocations: 159.5 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.3261, allocations: 0 / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.3263, allocations: 3.938 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.3263, allocations: 15.91 kB / 1.023 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3267, allocations: 90.5 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.3268, allocations: 27.86 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.3268, allocations: 11.98 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.3269, allocations: 15.92 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.3269, allocations: 8 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3269, allocations: 3.938 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.3275, allocations: 191.4 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.3275, allocations: 8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.3275, allocations: 15.91 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3277, allocations: 31.92 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3277, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3277, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3277, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003821/0.3281, allocations: 335.5 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3281, allocations: 8.031 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.3282, allocations: 8.844 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3283, allocations: 168.3 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.3284, allocations: 26.27 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3284, allocations: 4.359 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3285, allocations: 49.62 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3285, allocations: 0 / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3285, allocations: 7.922 kB / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.3286, allocations: 0 / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.3286, allocations: 16 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.329, allocations: 338 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.3291, allocations: 22.58 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3291, allocations: 8.844 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/0.3292, allocations: 85.17 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3292, allocations: 34.5 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3292, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.3294, allocations: 37.69 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3294, allocations: 59.41 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.3295, allocations: 93.86 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3295, allocations: 25.7 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3296, allocations: 92.03 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.3296, allocations: 7.906 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3296, allocations: 13.72 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3298, allocations: 318.8 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.3298, allocations: 4.125 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.3298, allocations: 21.64 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.3298, allocations: 21.72 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3298, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.742e-05/0.3299, allocations: 49.62 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.33, allocations: 8 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.33, allocations: 4.062 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.33, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.33, allocations: 4 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.33, allocations: 7.984 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.3301, allocations: 0 / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3301, allocations: 3.984 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.08e-05/0.3302, allocations: 113.8 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.3302, allocations: 0 / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3303, allocations: 128.8 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/0.3304, allocations: 180.5 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.852e-05/0.3304, allocations: 180.2 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.3305, allocations: 184.2 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3307, allocations: 409.1 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.3307, allocations: 112.9 kB / 1.026 GB, free: 2.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.3308, allocations: 101 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.277e-05/0.3308, allocations: 180.2 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.3309, allocations: 180.2 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.802e-05/0.331, allocations: 188.3 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/0.331, allocations: 180.2 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.3311, allocations: 315.6 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.3312, allocations: 186.1 kB / 1.027 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.488e-05/0.3313, allocations: 180.3 kB / 1.027 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3315, allocations: 104.9 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3315, allocations: 188.2 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.3316, allocations: 104.9 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.3316, allocations: 83.28 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3316, allocations: 0 / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002341/0.3319, allocations: 19.94 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002472/0.3321, allocations: 202.4 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.3322, allocations: 15.98 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3322, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.3322, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3326, allocations: 459.6 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.3328, allocations: 182 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3331, allocations: 0.669 MB / 1.029 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.3331, allocations: 10.48 kB / 1.029 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.3332, allocations: 11.44 kB / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3332, allocations: 0 / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of Templates: time 0.002751/0.3359, allocations: 0.6434 MB / 1.03 GB, free: 13.73 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches