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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005559/0.005559, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001293/0.001293, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7607, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1659/0.9267, allocations: 146 MB / 1.092 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.9269, allocations: 51.72 kB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.9269, allocations: 4 kB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.927, allocations: 3.938 kB / 1.092 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.9272, allocations: 15.91 kB / 1.092 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.9279, allocations: 195.4 kB / 1.092 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.928, allocations: 55.88 kB / 1.092 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.928, allocations: 3.984 kB / 1.092 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.9281, allocations: 19.88 kB / 1.092 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.9282, allocations: 7.984 kB / 1.093 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.9282, allocations: 4 kB / 1.093 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.9287, allocations: 235.3 kB / 1.093 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.9287, allocations: 7.984 kB / 1.093 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.9288, allocations: 11.92 kB / 1.093 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.9289, allocations: 73.88 kB / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9289, allocations: 0 / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.929, allocations: 0 / 1.093 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.929, allocations: 0 / 1.093 GB, free: 14.91 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.0003922/0.9294, allocations: 345.5 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.9294, allocations: 8.031 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.9297, allocations: 36.84 kB / 1.093 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.9299, allocations: 168.4 kB / 1.093 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.9299, allocations: 41.58 kB / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.93, allocations: 0 / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.9301, allocations: 53.61 kB / 1.093 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.9301, allocations: 0 / 1.093 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9301, allocations: 0 / 1.093 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.9302, allocations: 8 kB / 1.093 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.9302, allocations: 19.98 kB / 1.093 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.9306, allocations: 260.8 kB / 1.094 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.9307, allocations: 26.58 kB / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.9307, allocations: 12.86 kB / 1.094 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.9309, allocations: 93.09 kB / 1.094 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.9309, allocations: 34.56 kB / 1.094 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9309, allocations: 0 / 1.094 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.00025/0.9312, allocations: 45.69 kB / 1.094 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.9312, allocations: 51.41 kB / 1.094 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.9313, allocations: 109.8 kB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.9313, allocations: 29.83 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.9314, allocations: 87.98 kB / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.9314, allocations: 11.91 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.9314, allocations: 17.7 kB / 1.094 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9315, allocations: 318.8 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.9316, allocations: 4 kB / 1.095 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.9316, allocations: 22.56 kB / 1.095 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.9316, allocations: 30.58 kB / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9316, allocations: 0 / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.9317, allocations: 53.62 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9318, allocations: 4 kB / 1.095 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9318, allocations: 7.938 kB / 1.095 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9318, allocations: 4.094 kB / 1.095 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.9319, allocations: 8 kB / 1.095 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.9319, allocations: 7.938 kB / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.9319, allocations: 0 / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.9319, allocations: 0 / 1.095 GB, free: 12.76 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.636e-05/0.932, allocations: 113.8 kB / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.932, allocations: 0 / 1.095 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.9321, allocations: 15.06 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9321, allocations: 0 / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9321, allocations: 3.938 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.9321, allocations: 4 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.9324, allocations: 363.5 kB / 1.095 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9324, allocations: 7.938 kB / 1.095 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.9324, allocations: 0 / 1.095 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.9324, allocations: 7.938 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.9324, allocations: 4.281 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9325, allocations: 0 / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9325, allocations: 4.062 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.972e-05/0.9325, allocations: 73.92 kB / 1.095 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.9326, allocations: 85.03 kB / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.9326, allocations: 0 / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.9327, allocations: 4 kB / 1.095 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.9327, allocations: 3.984 kB / 1.095 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.9327, allocations: 8.031 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.9328, allocations: 79.28 kB / 1.095 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9328, allocations: 4 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002002/0.933, allocations: 4 kB / 1.095 GB, free: 11.88 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.0001254/0.9331, allocations: 99.25 kB / 1.096 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.781e-05/0.9332, allocations: 20.05 kB / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9332, allocations: 4.062 kB / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.9332, allocations: 4 kB / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.9335, allocations: 11.88 kB / 1.096 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.9338, allocations: 158.8 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.934, allocations: 0.6849 MB / 1.096 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.9341, allocations: 7.438 kB / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.9341, allocations: 0 / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.001896/0.936, allocations: 0.6053 MB / 1.097 GB, free: 10.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches