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.001074/0.001074, allocations: 114.9 kB / 16.37 MB, free: 5.539 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.001033/0.001033, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 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.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 66.8 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2955, 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.005078/0.3006, allocations: 3.728 MB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.3008, allocations: 159.5 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.3009, allocations: 4 kB / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.301, allocations: 0 / 1.023 GB, free: 5.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.3011, allocations: 11.91 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3014, allocations: 88.69 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.3015, allocations: 31.86 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.3016, allocations: 8 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.3016, allocations: 19.91 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.3017, allocations: 8 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3017, allocations: 0 / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.3022, allocations: 191.4 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3023, allocations: 7.938 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3023, allocations: 7.984 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3024, allocations: 43.84 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3024, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3024, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.3025, 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.00043/0.3029, allocations: 331.6 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3029, allocations: 8.031 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.303, allocations: 8.844 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3031, allocations: 160.4 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.3032, allocations: 26.27 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3032, allocations: 8.375 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3033, allocations: 49.56 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3034, allocations: 0 / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3034, allocations: 3.984 kB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3034, allocations: 3.984 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.3034, allocations: 16 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.3039, allocations: 338 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.3039, allocations: 18.58 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.304, allocations: 12.8 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.304, allocations: 89.16 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3041, allocations: 34.55 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3041, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.3042, allocations: 41.64 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3043, allocations: 55.39 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.3043, allocations: 97.86 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3044, allocations: 29.83 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.3044, allocations: 88.05 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.3044, allocations: 7.891 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.3044, allocations: 13.72 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3046, allocations: 322.7 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.3046, allocations: 4 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.3046, allocations: 21.64 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.3046, allocations: 21.72 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3046, allocations: 0 / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.956e-05/0.3047, allocations: 53.62 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.3047, allocations: 4 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3047, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.3048, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.859e-05/0.3048, allocations: 8 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3048, allocations: 0 / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.3048, allocations: 8.062 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3048, allocations: 0 / 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 6.444e-05/0.3049, allocations: 117.8 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3049, allocations: 0 / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.305, allocations: 123.3 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/0.3051, allocations: 180.2 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.3052, allocations: 188.2 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/0.3052, allocations: 176.3 kB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3054, allocations: 413.1 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.3054, allocations: 101 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.3055, allocations: 101 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.498e-05/0.3055, allocations: 188.2 kB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.3056, allocations: 184.2 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.001e-05/0.3057, allocations: 180.2 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.524e-05/0.3057, allocations: 176.3 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.3058, allocations: 311.6 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.3059, allocations: 190.1 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.306, allocations: 184.2 kB / 1.027 GB, free: 488 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3061, allocations: 105 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3062, allocations: 180.2 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3062, allocations: 108.9 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of sorting global known variables: time 6.184e-05/0.3063, allocations: 79.28 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3063, allocations: 4 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002272/0.3065, allocations: 19.94 kB / 1.028 GB, free: 15.97 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.0002118/0.3067, allocations: 202.4 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.34e-05/0.3068, allocations: 19.92 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3068, allocations: 0 / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.3068, allocations: 4.062 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3072, allocations: 461 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.3074, allocations: 177.9 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3077, allocations: 0.669 MB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.3077, allocations: 15.98 kB / 1.029 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.3077, allocations: 7.438 kB / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3077, allocations: 0 / 1.029 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.002505/0.3102, allocations: 0.6429 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 gbode -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