Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 87.11 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.00154/0.00154, 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.426 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.452/2.452, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003589, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7769, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.162/0.939, allocations: 134.1 MB / 1.085 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.9392, allocations: 55.91 kB / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.9392, allocations: 0 / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.9393, allocations: 0 / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.9394, allocations: 15.91 kB / 1.085 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.9398, allocations: 82.56 kB / 1.085 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.9399, allocations: 43.88 kB / 1.086 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.9399, allocations: 8 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.94, allocations: 19.92 kB / 1.086 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.9401, allocations: 11.98 kB / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.9401, allocations: 0 / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.9403, allocations: 43.84 kB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.9404, allocations: 11.98 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.9404, allocations: 33.64 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.708e-05/0.9405, allocations: 33.92 kB / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9405, allocations: 0 / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9406, allocations: 0 / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.9406, allocations: 4 kB / 1.086 GB, free: 8.75 MB / 0.8419 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.0003734/0.9409, allocations: 335.3 kB / 1.086 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.941, allocations: 8.031 kB / 1.086 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.9412, allocations: 15.98 kB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.9413, allocations: 167 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.9414, allocations: 29.64 kB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.9414, allocations: 3.984 kB / 1.086 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.9415, allocations: 49.69 kB / 1.086 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.9416, allocations: 3.953 kB / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9416, allocations: 0 / 1.086 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.9416, allocations: 7.984 kB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.9417, allocations: 19.92 kB / 1.086 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.942, allocations: 253 kB / 1.087 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.9421, allocations: 26.53 kB / 1.087 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.9421, allocations: 8.859 kB / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.9421, allocations: 0 / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.9421, allocations: 30.62 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.9422, allocations: 4 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.9423, allocations: 41.53 kB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.9423, allocations: 55.53 kB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.9424, allocations: 105.8 kB / 1.087 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.9424, allocations: 25.7 kB / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.9425, allocations: 95.98 kB / 1.087 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.9425, allocations: 3.906 kB / 1.087 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.9425, allocations: 0 / 1.087 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9426, allocations: 310.8 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.9427, allocations: 8 kB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.9427, allocations: 26.56 kB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.9427, allocations: 7.938 kB / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.9427, allocations: 0 / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.907e-05/0.9428, allocations: 61.58 kB / 1.087 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9428, allocations: 9.719 kB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9428, allocations: 0 / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.9429, allocations: 96 / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.9429, allocations: 12 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9429, allocations: 0 / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.943, allocations: 3.984 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.943, allocations: 4 kB / 1.087 GB, free: 6.82 MB / 0.8419 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 6.798e-05/0.9431, allocations: 109.8 kB / 1.087 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.9431, allocations: 7.953 kB / 1.087 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.9431, allocations: 7.125 kB / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.9431, allocations: 0 / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9431, allocations: 0 / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.9431, allocations: 4 kB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.9434, allocations: 358.7 kB / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9434, allocations: 0 / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.9434, allocations: 4 kB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9434, allocations: 4.188 kB / 1.088 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.9434, allocations: 0 / 1.088 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9435, allocations: 4 kB / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9435, allocations: 0 / 1.088 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.635e-05/0.9435, allocations: 72.97 kB / 1.088 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.9436, allocations: 81.09 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.9436, allocations: 0 / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.9437, allocations: 4 kB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.9437, allocations: 0 / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.9437, allocations: 4 kB / 1.088 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.9438, allocations: 83.27 kB / 1.088 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9438, allocations: 4.031 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001953/0.944, allocations: 8 kB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001013/0.9441, allocations: 103 kB / 1.088 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.9441, allocations: 8 kB / 1.088 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9442, allocations: 0 / 1.088 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.9442, allocations: 7.938 kB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.9444, allocations: 9.781 kB / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.9447, allocations: 124.5 kB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.9449, allocations: 0.677 MB / 1.089 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.536e-05/0.945, allocations: 8.078 kB / 1.089 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.945, allocations: 15.44 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.945, allocations: 0 / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of Templates: time 0.002473/0.9475, allocations: 472 kB / 1.089 GB, free: 4.512 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches