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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007121/0.007121, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001619/0.001619, allocations: 188.4 kB / 16.67 MB, free: 5.961 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: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 76.05 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.954, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.213/1.167, allocations: 148.3 MB / 1.352 GB, free: 8.738 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001375/1.167, allocations: 47.88 kB / 1.353 GB, free: 8.691 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/1.167, allocations: 0 / 1.353 GB, free: 8.691 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/1.167, allocations: 7.922 kB / 1.353 GB, free: 8.684 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/1.168, allocations: 15.92 kB / 1.353 GB, free: 8.668 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/1.168, allocations: 215.2 kB / 1.353 GB, free: 8.457 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/1.168, allocations: 31.91 kB / 1.353 GB, free: 8.426 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/1.168, allocations: 7.938 kB / 1.353 GB, free: 8.418 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/1.168, allocations: 11.98 kB / 1.353 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/1.169, allocations: 19.92 kB / 1.353 GB, free: 8.387 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/1.169, allocations: 4 kB / 1.353 GB, free: 8.383 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/1.169, allocations: 191.4 kB / 1.353 GB, free: 8.195 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/1.169, allocations: 11.98 kB / 1.353 GB, free: 8.184 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/1.169, allocations: 7.938 kB / 1.353 GB, free: 8.176 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/1.169, allocations: 115.6 kB / 1.353 GB, free: 8.066 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.169, allocations: 0 / 1.353 GB, free: 8.066 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.236e-06/1.169, allocations: 0 / 1.353 GB, free: 8.066 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.169, allocations: 7.875 kB / 1.353 GB, free: 8.059 MB / 1.076 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.0003811/1.17, allocations: 341.4 kB / 1.353 GB, free: 7.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/1.17, allocations: 12.03 kB / 1.353 GB, free: 7.668 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/1.17, allocations: 28.81 kB / 1.354 GB, free: 7.641 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/1.17, allocations: 160.4 kB / 1.354 GB, free: 7.445 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/1.17, allocations: 33.58 kB / 1.354 GB, free: 7.406 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/1.17, allocations: 4 kB / 1.354 GB, free: 7.402 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.17, allocations: 53.66 kB / 1.354 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/1.17, allocations: 0 / 1.354 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.17, allocations: 0 / 1.354 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/1.17, allocations: 4 kB / 1.354 GB, free: 7.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/1.17, allocations: 23.98 kB / 1.354 GB, free: 7.316 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/1.171, allocations: 260.9 kB / 1.354 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/1.171, allocations: 26.52 kB / 1.354 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/1.171, allocations: 8.922 kB / 1.354 GB, free: 6.965 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/1.171, allocations: 97.09 kB / 1.354 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.171, allocations: 30.56 kB / 1.354 GB, free: 6.812 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.171, allocations: 0 / 1.354 GB, free: 6.812 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002252/1.171, allocations: 49.69 kB / 1.354 GB, free: 6.758 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.171, allocations: 55.34 kB / 1.354 GB, free: 6.691 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/1.171, allocations: 105.9 kB / 1.354 GB, free: 6.578 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.171, allocations: 33.7 kB / 1.354 GB, free: 6.539 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/1.171, allocations: 87.98 kB / 1.355 GB, free: 6.449 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-06/1.171, allocations: 3.906 kB / 1.355 GB, free: 6.445 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/1.172, allocations: 17.72 kB / 1.355 GB, free: 6.422 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/1.172, allocations: 322.8 kB / 1.355 GB, free: 6.098 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/1.172, allocations: 0 / 1.355 GB, free: 6.098 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/1.172, allocations: 22.58 kB / 1.355 GB, free: 6.066 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/1.172, allocations: 42.5 kB / 1.355 GB, free: 6.016 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.172, allocations: 4 kB / 1.355 GB, free: 6.012 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.529e-05/1.172, allocations: 57.53 kB / 1.355 GB, free: 5.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.172, allocations: 7.938 kB / 1.355 GB, free: 5.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/1.172, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.172, allocations: 8.094 kB / 1.355 GB, free: 5.934 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/1.172, allocations: 4 kB / 1.355 GB, free: 5.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.172, allocations: 3.938 kB / 1.355 GB, free: 5.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/1.172, allocations: 4 kB / 1.355 GB, free: 5.922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/1.172, allocations: 0 / 1.355 GB, free: 5.922 MB / 1.076 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 6.993e-05/1.172, allocations: 113.8 kB / 1.355 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/1.172, allocations: 0 / 1.355 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/1.172, allocations: 7.109 kB / 1.355 GB, free: 5.793 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.172, allocations: 4 kB / 1.355 GB, free: 5.789 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.172, allocations: 11.88 kB / 1.355 GB, free: 5.777 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/1.172, allocations: 0 / 1.355 GB, free: 5.777 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/1.172, allocations: 359.6 kB / 1.355 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.172, allocations: 0 / 1.355 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/1.172, allocations: 4 kB / 1.355 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.172, allocations: 3.938 kB / 1.355 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/1.172, allocations: 0 / 1.355 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.172, allocations: 4 kB / 1.355 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.172, allocations: 8 kB / 1.355 GB, free: 5.344 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/1.173, allocations: 69.89 kB / 1.356 GB, free: 5.254 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/1.173, allocations: 85.05 kB / 1.356 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/1.173, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/1.173, allocations: 8 kB / 1.356 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/1.173, allocations: 4.312 kB / 1.356 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/1.173, allocations: 0 / 1.356 GB, free: 5.141 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.174e-05/1.173, allocations: 87.25 kB / 1.356 GB, free: 5.055 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.173, allocations: 0 / 1.356 GB, free: 5.055 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001906/1.173, allocations: 8 kB / 1.356 GB, free: 5.047 MB / 1.076 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.0001088/1.173, allocations: 95.25 kB / 1.356 GB, free: 4.945 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/1.173, allocations: 28.05 kB / 1.356 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.173, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/1.173, allocations: 7.938 kB / 1.356 GB, free: 4.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/1.173, allocations: 11.94 kB / 1.356 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/1.174, allocations: 119.5 kB / 1.356 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/1.174, allocations: 0.6768 MB / 1.357 GB, free: 4.047 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.573e-05/1.174, allocations: 12.12 kB / 1.357 GB, free: 4.035 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/1.174, allocations: 7.438 kB / 1.357 GB, free: 4.031 MB / 1.076 GB Notification: Performance of SimCode: time 1.8e-07/1.174, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.076 GB Notification: Performance of Templates: time 0.002532/1.177, allocations: 0.5896 MB / 1.357 GB, free: 3.449 MB / 1.076 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