Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 104.4 kB / 15.98 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.001238/0.001238, allocations: 199.1 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 64.02 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.305, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005677/0.3107, allocations: 4.06 MB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.3109, allocations: 155.5 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.3109, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.415e-05/0.311, allocations: 3.938 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.3111, allocations: 15.91 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.3114, allocations: 75.83 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.3115, allocations: 27.86 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.3116, allocations: 7.984 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.3116, allocations: 15.98 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.3117, allocations: 15.92 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3117, allocations: 3.938 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3119, allocations: 63.8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.312, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.312, allocations: 15.92 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3121, allocations: 35.91 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3121, allocations: 0 / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3121, allocations: 0 / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3121, allocations: 0 / 1.069 GB, free: 10.61 MB / 0.8419 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.0004206/0.3126, allocations: 331.8 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3126, allocations: 12.03 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3127, allocations: 8.828 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3128, allocations: 160.4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.3129, allocations: 34.27 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.3129, allocations: 384 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.313, allocations: 45.62 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.313, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3131, allocations: 4 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.3131, allocations: 0 / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.3131, allocations: 15.92 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.3136, allocations: 338 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.3136, allocations: 14.58 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.3137, allocations: 12.92 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3138, allocations: 85.09 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3138, allocations: 30.56 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3138, allocations: 0 / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.314, allocations: 37.73 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.314, allocations: 55.44 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.3141, allocations: 109.8 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3142, allocations: 25.7 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.3142, allocations: 87.98 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.3142, allocations: 7.906 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3143, allocations: 17.7 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3144, allocations: 314.8 kB / 1.07 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.3144, allocations: 12 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.3145, allocations: 13.72 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.3145, allocations: 29.64 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3145, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.886e-05/0.3146, allocations: 41.69 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3146, allocations: 11.88 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3146, allocations: 4.062 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3147, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.3147, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3147, allocations: 3.938 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.3148, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3148, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8419 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 9.19e-05/0.3149, allocations: 111.5 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3149, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.315, allocations: 121 kB / 1.071 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.838e-05/0.3151, allocations: 184.2 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.146e-05/0.3152, allocations: 176.3 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.812e-05/0.3153, allocations: 184.2 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.3156, allocations: 413.2 kB / 1.071 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-05/0.3156, allocations: 108.9 kB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3157, allocations: 101 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-05/0.3158, allocations: 180.3 kB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.3159, allocations: 180.2 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.37e-05/0.316, allocations: 176.3 kB / 1.072 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.3161, allocations: 192.2 kB / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3162, allocations: 307.7 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.3163, allocations: 186 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.3164, allocations: 184.2 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3166, allocations: 108.9 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.3167, allocations: 180.3 kB / 1.073 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.3168, allocations: 101 kB / 1.073 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.3168, allocations: 91.27 kB / 1.073 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3168, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002407/0.3171, allocations: 16 kB / 1.073 GB, free: 5.039 MB / 0.8419 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.0002608/0.3173, allocations: 206.3 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.3174, allocations: 12 kB / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3174, allocations: 0 / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3174, allocations: 0 / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3179, allocations: 463.7 kB / 1.074 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.3182, allocations: 215.6 kB / 1.074 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3185, allocations: 0.6768 MB / 1.075 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3185, allocations: 11.44 kB / 1.075 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3185, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of Templates: time 0.002298/0.3208, allocations: 0.7534 MB / 1.076 GB, free: 2.648 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches