Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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.001278/0.001278, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001409/0.001409, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.704/2.704, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7109, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005348/0.7163, allocations: 4.053 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.7165, allocations: 159.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.7166, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.7167, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.7168, allocations: 11.92 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.7172, allocations: 79.64 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.7173, allocations: 31.84 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.7173, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.7174, allocations: 19.98 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.7175, allocations: 19.91 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.7175, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.7177, allocations: 51.83 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.7178, allocations: 15.91 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.7179, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.718, allocations: 47.89 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.718, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.718, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.7181, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 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.0005379/0.7186, allocations: 345.5 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7187, allocations: 8.031 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.7187, allocations: 0.9375 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7189, allocations: 164.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.7189, allocations: 26.27 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.719, allocations: 384 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7191, allocations: 57.55 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7191, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.7192, allocations: 7.922 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.7192, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.7193, allocations: 12 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.7198, allocations: 337.9 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.7199, allocations: 22.52 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.7199, allocations: 8.844 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.584e-05/0.72, allocations: 81.17 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.7201, allocations: 38.56 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.7201, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.7202, allocations: 37.69 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.7203, allocations: 51.41 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.7204, allocations: 97.86 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7204, allocations: 25.7 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.7205, allocations: 92.03 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.7205, allocations: 128 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.7205, allocations: 25.59 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7207, allocations: 322.8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.7207, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.7207, allocations: 17.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.7208, allocations: 21.72 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7208, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.769e-05/0.7209, allocations: 53.53 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7209, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7209, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7209, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.721, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.721, allocations: 3.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.721, allocations: 7.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.721, allocations: 3.984 kB / 1.023 GB, free: 12.07 MB / 0.7794 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.017e-05/0.7211, allocations: 113.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.7211, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.7213, allocations: 128.8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/0.7213, allocations: 180.2 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.447e-05/0.7214, allocations: 180.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-05/0.7215, allocations: 180.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.7217, allocations: 417.1 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.7218, allocations: 101 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.7218, allocations: 105 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.68e-05/0.7219, allocations: 180.2 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/0.722, allocations: 184.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-05/0.7221, allocations: 184.2 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.026e-05/0.7221, allocations: 180.3 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.7223, allocations: 315.6 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.7224, allocations: 178.1 kB / 1.025 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.7225, allocations: 184.2 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.7226, allocations: 109 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.7227, allocations: 176.5 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.7227, allocations: 108.9 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.7228, allocations: 83.28 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7228, allocations: 0 / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002487/0.723, allocations: 16 kB / 1.026 GB, free: 8.605 MB / 0.7794 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.0003182/0.7234, allocations: 210.3 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.7234, allocations: 15.98 kB / 1.026 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7235, allocations: 0 / 1.026 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.7235, allocations: 3.938 kB / 1.026 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.7239, allocations: 463.9 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.7242, allocations: 193.7 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7245, allocations: 0.669 MB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.168e-05/0.7246, allocations: 19.83 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.7246, allocations: 11.44 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7246, allocations: 0 / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.002862/0.7275, allocations: 0.6304 MB / 1.028 GB, free: 6.352 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches