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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001064/0.001064, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001247/0.001247, allocations: 191 kB / 16.25 MB, free: 6.629 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7448 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 65.23 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.168/0.524, allocations: 146.2 MB / 1.21 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.5242, allocations: 59.84 kB / 1.211 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.5242, allocations: 0 / 1.211 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5244, allocations: 7.875 kB / 1.211 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.5245, allocations: 7.984 kB / 1.211 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.5253, allocations: 207.3 kB / 1.211 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.5253, allocations: 31.92 kB / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.5254, allocations: 0 / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.5254, allocations: 19.86 kB / 1.211 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.5255, allocations: 15.98 kB / 1.211 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5255, allocations: 0 / 1.211 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.5259, allocations: 203.4 kB / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.526, allocations: 4 kB / 1.211 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.526, allocations: 23.91 kB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.5263, allocations: 123.9 kB / 1.211 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5263, allocations: 4 kB / 1.211 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5263, allocations: 0 / 1.211 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.5263, allocations: 0 / 1.211 GB, free: 7.324 MB / 0.9669 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.0004354/0.5268, allocations: 335.6 kB / 1.211 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5268, allocations: 8.031 kB / 1.211 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.5272, allocations: 28.81 kB / 1.211 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5273, allocations: 168.3 kB / 1.212 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.5274, allocations: 37.62 kB / 1.212 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.5274, allocations: 4 kB / 1.212 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5275, allocations: 49.62 kB / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.5276, allocations: 0 / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5276, allocations: 0 / 1.212 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.5276, allocations: 4 kB / 1.212 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.5277, allocations: 19.98 kB / 1.212 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.528, allocations: 256.9 kB / 1.212 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.5281, allocations: 26.58 kB / 1.212 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.5281, allocations: 8.922 kB / 1.212 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.5283, allocations: 93.03 kB / 1.212 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5283, allocations: 38.56 kB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5283, allocations: 3.938 kB / 1.212 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.5286, allocations: 45.69 kB / 1.212 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5287, allocations: 55.41 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.5287, allocations: 105.8 kB / 1.212 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5288, allocations: 25.7 kB / 1.212 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.5288, allocations: 88.05 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.5288, allocations: 15.88 kB / 1.212 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.5289, allocations: 17.72 kB / 1.213 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.529, allocations: 315 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.529, allocations: 7.938 kB / 1.213 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.5291, allocations: 26.56 kB / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.5291, allocations: 30.52 kB / 1.213 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5291, allocations: 4 kB / 1.213 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.624e-05/0.5292, allocations: 57.53 kB / 1.213 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5293, allocations: 4 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5293, allocations: 4 kB / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5293, allocations: 0 / 1.213 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.5293, allocations: 11.94 kB / 1.213 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.5294, allocations: 7.938 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.5294, allocations: 3.938 kB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.5294, allocations: 0 / 1.213 GB, free: 5.191 MB / 0.9669 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 8.1e-05/0.5295, allocations: 117.9 kB / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5295, allocations: 0 / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.5296, allocations: 11.12 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5296, allocations: 0 / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5296, allocations: 3.938 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5296, allocations: 0 / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.5299, allocations: 363.6 kB / 1.213 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5299, allocations: 4 kB / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.5299, allocations: 0 / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.53, allocations: 7.938 kB / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.53, allocations: 0 / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.53, allocations: 0 / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.53, allocations: 288 / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/0.5301, allocations: 81.86 kB / 1.214 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.5301, allocations: 85.03 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.5301, allocations: 3.938 kB / 1.214 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.5302, allocations: 7.984 kB / 1.214 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.5303, allocations: 0 / 1.214 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.5303, allocations: 4 kB / 1.214 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.5303, allocations: 79.28 kB / 1.214 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5303, allocations: 4 kB / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002038/0.5305, allocations: 4 kB / 1.214 GB, free: 4.316 MB / 0.9669 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.0001426/0.5307, allocations: 107.3 kB / 1.214 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.5308, allocations: 15.94 kB / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5308, allocations: 0 / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.5308, allocations: 4 kB / 1.214 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5311, allocations: 5.266 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.5314, allocations: 135.7 kB / 1.214 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5317, allocations: 0.6768 MB / 1.215 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.5318, allocations: 11.98 kB / 1.215 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.5318, allocations: 7.438 kB / 1.215 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.5318, allocations: 3.938 kB / 1.215 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of Templates: time 0.003287/0.5351, allocations: 0.5754 MB / 1.215 GB, free: 2.723 MB / 0.9669 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