Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.001435/0.001435, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001901/0.001901, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 9.625 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4431, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.169/0.6122, allocations: 134.5 MB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.6123, allocations: 47.89 kB / 1.189 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.6124, allocations: 0 / 1.189 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.6125, allocations: 7.938 kB / 1.189 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.6126, allocations: 15.97 kB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.6132, allocations: 147.4 kB / 1.19 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.6134, allocations: 43.89 kB / 1.19 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.6134, allocations: 3.984 kB / 1.19 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.6134, allocations: 11.94 kB / 1.19 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.6135, allocations: 23.97 kB / 1.19 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6136, allocations: 4 kB / 1.19 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.6139, allocations: 91.67 kB / 1.19 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.6139, allocations: 11.98 kB / 1.19 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.614, allocations: 29.7 kB / 1.19 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.6141, allocations: 52.16 kB / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6141, allocations: 0 / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6142, allocations: 0 / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6142, allocations: 0 / 1.19 GB, free: 14.05 MB / 0.9512 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.0004072/0.6146, allocations: 335.4 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6146, allocations: 8.031 kB / 1.19 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.615, allocations: 23.97 kB / 1.19 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6151, allocations: 170.9 kB / 1.19 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.6152, allocations: 41.62 kB / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.6152, allocations: 0 / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.6154, allocations: 53.67 kB / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.6154, allocations: 4 kB / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6154, allocations: 0 / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.6154, allocations: 4 kB / 1.19 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.6155, allocations: 27.91 kB / 1.19 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.6159, allocations: 260.8 kB / 1.191 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.6159, allocations: 22.52 kB / 1.191 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.6159, allocations: 12.92 kB / 1.191 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.6161, allocations: 93.09 kB / 1.191 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.6162, allocations: 34.56 kB / 1.191 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6162, allocations: 0 / 1.191 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002381/0.6164, allocations: 49.62 kB / 1.191 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.6165, allocations: 55.53 kB / 1.191 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.6166, allocations: 109.8 kB / 1.191 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.6166, allocations: 25.7 kB / 1.191 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.6166, allocations: 84.05 kB / 1.191 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.6167, allocations: 7.906 kB / 1.191 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.6167, allocations: 0 / 1.191 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6168, allocations: 318.8 kB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.6168, allocations: 4 kB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.6169, allocations: 26.58 kB / 1.191 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.6169, allocations: 4 kB / 1.191 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6169, allocations: 0 / 1.191 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.436e-05/0.617, allocations: 53.62 kB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.617, allocations: 4 kB / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.617, allocations: 4 kB / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.617, allocations: 0 / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.6171, allocations: 16.02 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.6171, allocations: 8 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.6172, allocations: 3.938 kB / 1.192 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.6172, allocations: 7.953 kB / 1.192 GB, free: 11.96 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/0.6173, allocations: 109.8 kB / 1.192 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.6173, allocations: 4 kB / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.6173, allocations: 7.062 kB / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6173, allocations: 0 / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6173, allocations: 0 / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6173, allocations: 7.984 kB / 1.192 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.6177, allocations: 363.5 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6177, allocations: 4 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.6177, allocations: 0 / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6177, allocations: 7.984 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.6177, allocations: 0 / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6178, allocations: 0 / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6178, allocations: 4.016 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.289e-05/0.6178, allocations: 77.94 kB / 1.192 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.6179, allocations: 77.11 kB / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6179, allocations: 7.922 kB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.618, allocations: 4 kB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.618, allocations: 3.953 kB / 1.192 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.618, allocations: 8.031 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.6181, allocations: 83.27 kB / 1.192 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6181, allocations: 0 / 1.192 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001939/0.6183, allocations: 4 kB / 1.192 GB, free: 11.1 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.6184, allocations: 103.7 kB / 1.192 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.6185, allocations: 12.06 kB / 1.192 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6185, allocations: 4.062 kB / 1.192 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.6186, allocations: 4 kB / 1.192 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.6188, allocations: 11.98 kB / 1.192 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.6191, allocations: 133.3 kB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.6194, allocations: 0.6849 MB / 1.193 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.457e-05/0.6194, allocations: 7.984 kB / 1.193 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.6195, allocations: 7.438 kB / 1.193 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6195, allocations: 0 / 1.193 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.002897/0.6224, allocations: 0.547 MB / 1.194 GB, free: 9.523 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches