Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.0008981, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007017/0.007017, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7619, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1689/0.9308, allocations: 144.2 MB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000138/0.931, allocations: 51.69 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.931, allocations: 0 / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.9312, allocations: 3.984 kB / 1.096 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.076e-05/0.9313, allocations: 15.92 kB / 1.096 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.9321, allocations: 195.4 kB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.9322, allocations: 59.81 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.9323, allocations: 7.984 kB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.9323, allocations: 12 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.9324, allocations: 19.91 kB / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.9325, allocations: 0 / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/0.933, allocations: 227.3 kB / 1.096 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.9331, allocations: 4 kB / 1.096 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.9331, allocations: 45.62 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.9334, allocations: 121.7 kB / 1.097 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9335, allocations: 4 kB / 1.097 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9335, allocations: 0 / 1.097 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9335, allocations: 0 / 1.097 GB, free: 13.9 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004176/0.9339, allocations: 335.5 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.934, allocations: 11.97 kB / 1.097 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.9343, allocations: 28.89 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.9345, allocations: 172.3 kB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.9345, allocations: 33.64 kB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.9345, allocations: 0 / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.9347, allocations: 49.67 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.9347, allocations: 0 / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9347, allocations: 0 / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.9348, allocations: 7.984 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.9348, allocations: 19.98 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.9352, allocations: 256.9 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.9353, allocations: 26.55 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.9353, allocations: 12.92 kB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.9355, allocations: 89.09 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.9355, allocations: 34.56 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9355, allocations: 0 / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002706/0.9358, allocations: 53.59 kB / 1.098 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.9358, allocations: 59.28 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.9359, allocations: 109.8 kB / 1.098 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.936, allocations: 25.7 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.936, allocations: 87.98 kB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.936, allocations: 12.03 kB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.9361, allocations: 13.72 kB / 1.098 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.9362, allocations: 310.8 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.9362, allocations: 7.984 kB / 1.098 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.9362, allocations: 22.58 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.9363, allocations: 34.52 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.9363, allocations: 3.984 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.9364, allocations: 49.64 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.9364, allocations: 8 kB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9364, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.9364, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.9365, allocations: 11.98 kB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9365, allocations: 3.938 kB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.9366, allocations: 4.094 kB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.9366, allocations: 7.938 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.175e-05/0.9366, allocations: 109.8 kB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.9367, allocations: 4 kB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.9367, allocations: 3.125 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9367, allocations: 0 / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.9367, allocations: 3.938 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9367, allocations: 3.984 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.937, allocations: 367.5 kB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.937, allocations: 0 / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.9371, allocations: 4 kB / 1.099 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.9371, allocations: 7.922 kB / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9371, allocations: 0 / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9371, allocations: 7.938 kB / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9371, allocations: 0 / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.055e-05/0.9372, allocations: 70.06 kB / 1.099 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.9372, allocations: 81.05 kB / 1.099 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9372, allocations: 7.984 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.9373, allocations: 4 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.9374, allocations: 4 kB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.9374, allocations: 0 / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.9374, allocations: 83.55 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9374, allocations: 4.031 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001966/0.9376, allocations: 8 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001323/0.9378, allocations: 99.33 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.9379, allocations: 19.94 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9379, allocations: 0 / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.9379, allocations: 8.125 kB / 1.099 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.9381, allocations: 23.98 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.9384, allocations: 121.4 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.9386, allocations: 0.6809 MB / 1.1 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.33e-05/0.9387, allocations: 8 kB / 1.1 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.9387, allocations: 11.44 kB / 1.1 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.9387, allocations: 0 / 1.1 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of Templates: time 0.002936/0.9417, allocations: 0.5573 MB / 1.101 GB, free: 9.312 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches