Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001512/0.001512, allocations: 111.8 kB / 15.99 MB, free: 5.914 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.001605/0.001606, allocations: 187.9 kB / 16.91 MB, free: 5.758 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.72 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005949/0.285, allocations: 3.769 MB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000213/0.2853, allocations: 163.4 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.2853, allocations: 4 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/0.2854, allocations: 0 / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.2855, allocations: 3.938 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.286, allocations: 75.75 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.2861, allocations: 35.91 kB / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.2861, allocations: 0 / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.2862, allocations: 27.91 kB / 0.9537 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.2863, allocations: 11.94 kB / 0.9537 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2863, allocations: 4 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.2869, allocations: 175.5 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.2869, allocations: 11.98 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.287, allocations: 7.938 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2871, allocations: 28.19 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.2871, allocations: 3.984 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2871, allocations: 7.938 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2871, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7325 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.0004236/0.2875, allocations: 337 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2876, allocations: 8.031 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.2876, allocations: 4.844 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2878, allocations: 164.4 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.2878, allocations: 30.27 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.2878, allocations: 384 / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.288, allocations: 53.59 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.288, allocations: 4 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.288, allocations: 4 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.288, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.2881, allocations: 23.92 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2886, allocations: 329.9 kB / 0.9549 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.2886, allocations: 22.61 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.2887, allocations: 4.859 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.402e-05/0.2888, allocations: 85.17 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2888, allocations: 34.56 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2888, allocations: 0 / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.2889, allocations: 41.62 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.289, allocations: 51.41 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.2891, allocations: 101.9 kB / 0.9552 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2891, allocations: 25.7 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.2891, allocations: 88.16 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2892, allocations: 11.91 kB / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2892, allocations: 13.72 kB / 0.9553 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2893, allocations: 322.7 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.2893, allocations: 3.984 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.2894, allocations: 17.66 kB / 0.9557 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.2894, allocations: 29.66 kB / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2894, allocations: 0 / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.469e-05/0.2895, allocations: 45.69 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2895, allocations: 8 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2895, allocations: 0 / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2895, allocations: 0 / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.2896, allocations: 7.938 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2896, allocations: 0 / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.2896, allocations: 7.984 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.2896, allocations: 0 / 0.9558 GB, free: 2.816 MB / 0.7325 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.801e-05/0.2897, allocations: 125.3 kB / 0.9559 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.2897, allocations: 0 / 0.9559 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.2899, allocations: 116.7 kB / 0.956 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/0.2899, allocations: 184.2 kB / 0.9562 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-05/0.29, allocations: 176.3 kB / 0.9563 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.74e-05/0.2901, allocations: 192.2 kB / 0.9565 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.2903, allocations: 401.2 kB / 0.9569 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/0.2904, allocations: 105 kB / 0.957 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.2904, allocations: 104.9 kB / 0.9571 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.035e-05/0.2905, allocations: 184.2 kB / 0.9573 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.2905, allocations: 184.2 kB / 0.9575 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.747e-05/0.2906, allocations: 180.3 kB / 0.9576 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.008e-05/0.2907, allocations: 184.2 kB / 0.9578 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2908, allocations: 311.7 kB / 0.9581 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.2909, allocations: 182 kB / 0.9583 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.291, allocations: 184.3 kB / 0.9585 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.2912, allocations: 109 kB / 0.9586 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.2913, allocations: 184.2 kB / 0.9587 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.2913, allocations: 105 kB / 0.9588 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.2914, allocations: 79.28 kB / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2914, allocations: 0 / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002405/0.2916, allocations: 19.92 kB / 0.9589 GB, free: 15.36 MB / 0.7481 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.0002317/0.2918, allocations: 206.4 kB / 0.9591 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.2919, allocations: 20.17 kB / 0.9591 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2919, allocations: 0 / 0.9591 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.2919, allocations: 4 kB / 0.9592 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.2924, allocations: 457.2 kB / 0.9596 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.2926, allocations: 207.7 kB / 0.9598 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2929, allocations: 0.6767 MB / 0.9604 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.2929, allocations: 11.42 kB / 0.9605 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.2929, allocations: 0 / 0.9605 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.002114/0.2951, allocations: 0.7628 MB / 0.9612 GB, free: 12.97 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches