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.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.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.001607/0.001608, allocations: 105 kB / 15.99 MB, free: 6.355 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.001887/0.001887, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.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.563/2.563, allocations: 437 MB / 0.7107 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 62.44 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00569/0.2941, allocations: 3.77 MB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.2944, allocations: 155.5 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.2944, allocations: 0 / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.134e-05/0.2945, allocations: 8 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.2946, allocations: 15.92 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.2949, allocations: 68.77 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.295, allocations: 31.91 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.2951, allocations: 4 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.2951, allocations: 23.84 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.2952, allocations: 12 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2952, allocations: 4 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.2957, allocations: 175.5 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.2958, allocations: 7.984 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2958, allocations: 11.94 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.2959, allocations: 40.17 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2959, allocations: 0 / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2959, allocations: 3.938 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2959, allocations: 0 / 1.022 GB, free: 6.645 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.0004139/0.2964, allocations: 331.6 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2964, allocations: 12.03 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.2965, allocations: 8.844 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2966, allocations: 160.4 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.2967, allocations: 34.25 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.2967, allocations: 384 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2968, allocations: 45.62 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2968, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2968, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2969, allocations: 8 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.2969, allocations: 19.92 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.2974, allocations: 338 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.2974, allocations: 14.58 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.2974, allocations: 8.922 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/0.2975, allocations: 85.05 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2976, allocations: 34.56 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2976, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.2977, allocations: 45.62 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2978, allocations: 51.41 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.2979, allocations: 105.8 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2979, allocations: 33.7 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.298, allocations: 84.05 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-06/0.298, allocations: 4.031 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.298, allocations: 17.72 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2982, allocations: 322.8 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.2982, allocations: 4 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.2982, allocations: 13.72 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.2982, allocations: 21.66 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2983, allocations: 4 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.83e-05/0.2983, allocations: 49.69 kB / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2984, allocations: 6.656 kB / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2984, allocations: 0 / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2984, allocations: 0 / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.2984, allocations: 15.92 kB / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2984, allocations: 0 / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.2985, allocations: 0 / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2985, allocations: 4 kB / 1.023 GB, free: 4.527 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.869e-05/0.2986, allocations: 113.8 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2986, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.2987, allocations: 126.9 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.489e-05/0.2988, allocations: 180.2 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/0.2989, allocations: 180.3 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-05/0.299, allocations: 184.2 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.2992, allocations: 409.2 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/0.2993, allocations: 101 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.2994, allocations: 108.9 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.663e-05/0.2994, allocations: 176.3 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.2995, allocations: 188.2 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.976e-05/0.2996, allocations: 180.3 kB / 1.025 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.018e-05/0.2997, allocations: 188.2 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2999, allocations: 311.7 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.3, allocations: 186 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.3001, allocations: 180.3 kB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3002, allocations: 109 kB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3003, allocations: 180.2 kB / 1.026 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3004, allocations: 101 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.3004, allocations: 87.27 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3004, allocations: 4 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002387/0.3007, allocations: 15.94 kB / 1.027 GB, free: 1.07 MB / 0.795 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.0002691/0.3009, allocations: 207 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.301, allocations: 16.25 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.301, allocations: 3.938 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.3011, allocations: 0 / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3015, allocations: 465.2 kB / 1.027 GB, free: 392 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.3018, allocations: 211.5 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3021, allocations: 0.6729 MB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.3021, allocations: 11.44 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3021, allocations: 0 / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.002291/0.3044, allocations: 0.749 MB / 1.029 GB, free: 14.7 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=400 -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