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.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.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.001023/0.001023, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 185.5 kB / 16.92 MB, free: 6.75 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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.58/2.58, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6039, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004357/0.6083, allocations: 3.703 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001946/0.6085, allocations: 139.6 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.34e-05/0.6085, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.6086, allocations: 11.92 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.6087, allocations: 7.922 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.609, allocations: 79.81 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.6091, allocations: 63.75 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.6091, allocations: 4 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.6092, allocations: 11.98 kB / 1.028 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.6093, allocations: 8 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.6093, allocations: 3.984 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.6095, allocations: 83.72 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.6095, allocations: 3.938 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.6096, allocations: 45.69 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.876e-05/0.6097, allocations: 23.97 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.6097, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6097, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.6097, allocations: 0 / 1.028 GB, free: 11.64 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.0003353/0.6101, allocations: 333.5 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6101, allocations: 8.031 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.6101, allocations: 0.9375 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.6103, allocations: 164.4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.6103, allocations: 34.2 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.6103, allocations: 4.359 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6105, allocations: 49.62 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6105, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.6105, allocations: 7.938 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6105, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.6106, allocations: 15.92 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.611, allocations: 341.9 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.371e-05/0.611, allocations: 18.58 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.6111, allocations: 8.859 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/0.6111, allocations: 81.17 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.6112, allocations: 34.56 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.6112, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.6113, allocations: 37.72 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6114, allocations: 55.44 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.6115, allocations: 109.8 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.6115, allocations: 25.7 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.6115, allocations: 84.05 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.6116, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.6116, allocations: 13.72 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.6117, allocations: 314.8 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.6117, allocations: 4 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.6117, allocations: 25.7 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.6118, allocations: 17.66 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6118, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.64e-05/0.6119, allocations: 49.62 kB / 1.03 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6119, allocations: 8 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6119, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.6119, allocations: 4.062 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.612, allocations: 4 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.612, allocations: 4 kB / 1.03 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.612, allocations: 7.844 kB / 1.03 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.612, allocations: 3.984 kB / 1.03 GB, free: 9.527 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 7.266e-05/0.6121, allocations: 117.8 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.6121, allocations: 0 / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.6122, allocations: 124.8 kB / 1.03 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.6123, allocations: 184.2 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.948e-05/0.6124, allocations: 180.3 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/0.6124, allocations: 184.2 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.6126, allocations: 405.1 kB / 1.031 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.6127, allocations: 112.9 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.6127, allocations: 105 kB / 1.031 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.926e-05/0.6128, allocations: 180.3 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.6129, allocations: 184.2 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.4e-05/0.6129, allocations: 180.3 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.014e-05/0.613, allocations: 180.2 kB / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.6131, allocations: 311.7 kB / 1.032 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.6132, allocations: 186 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.6133, allocations: 180.3 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.6134, allocations: 116.9 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.6135, allocations: 180.3 kB / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.6135, allocations: 101 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.6136, allocations: 87.27 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6136, allocations: 7.938 kB / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000244/0.6139, allocations: 16 kB / 1.033 GB, free: 6.051 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.0002123/0.6141, allocations: 198.4 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.797e-05/0.6141, allocations: 12.3 kB / 1.033 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6142, allocations: 4 kB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.6142, allocations: 0 / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.6146, allocations: 0.5224 MB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.6148, allocations: 221.5 kB / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.615, allocations: 0.677 MB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.6151, allocations: 7.438 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6151, allocations: 0 / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.00195/0.617, allocations: 0.7376 MB / 1.035 GB, free: 3.605 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches