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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005101/0.005101, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001378/0.001378, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.31 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2985, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1603/0.4589, allocations: 148.3 MB / 1.232 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.4591, allocations: 51.73 kB / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.4591, allocations: 0 / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.4593, allocations: 7.922 kB / 1.232 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.4593, allocations: 19.92 kB / 1.232 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.4601, allocations: 213.5 kB / 1.233 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.4602, allocations: 39.84 kB / 1.233 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.4602, allocations: 3.984 kB / 1.233 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.4603, allocations: 11.94 kB / 1.233 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.4603, allocations: 15.97 kB / 1.233 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4604, allocations: 0 / 1.233 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.4608, allocations: 195.4 kB / 1.233 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.4608, allocations: 7.969 kB / 1.233 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.4609, allocations: 15.94 kB / 1.233 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.4611, allocations: 106.6 kB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4611, allocations: 4 kB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4611, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.4612, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 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.0003727/0.4615, allocations: 348.3 kB / 1.233 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4616, allocations: 8.031 kB / 1.233 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.4616, allocations: 42.69 kB / 1.233 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.4619, allocations: 24.81 kB / 1.233 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4621, allocations: 168.1 kB / 1.233 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.4621, allocations: 29.7 kB / 1.234 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4621, allocations: 3.984 kB / 1.234 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4623, allocations: 49.67 kB / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4623, allocations: 0 / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4623, allocations: 4 kB / 1.234 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4623, allocations: 3.938 kB / 1.234 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.4624, allocations: 19.98 kB / 1.234 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4627, allocations: 264.8 kB / 1.234 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/0.4628, allocations: 26.64 kB / 1.234 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.4628, allocations: 4.859 kB / 1.234 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.463, allocations: 93.09 kB / 1.234 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.463, allocations: 34.56 kB / 1.234 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.463, allocations: 7.938 kB / 1.234 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.4633, allocations: 49.62 kB / 1.234 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4633, allocations: 59.34 kB / 1.234 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.4634, allocations: 97.84 kB / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4634, allocations: 25.7 kB / 1.234 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.4635, allocations: 92.05 kB / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.4635, allocations: 7.844 kB / 1.234 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.4635, allocations: 21.84 kB / 1.234 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.4636, allocations: 314.8 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.4636, allocations: 4 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.4637, allocations: 22.58 kB / 1.235 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.4637, allocations: 38.5 kB / 1.235 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4637, allocations: 0 / 1.235 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.162e-05/0.4638, allocations: 53.62 kB / 1.235 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4638, allocations: 9.562 kB / 1.235 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4638, allocations: 0 / 1.235 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4639, allocations: 0 / 1.235 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.4639, allocations: 8 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4639, allocations: 3.938 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.464, allocations: 3.906 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.464, allocations: 8.094 kB / 1.235 GB, free: 10.28 MB / 0.9981 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.982e-05/0.4641, allocations: 109.8 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4641, allocations: 4 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.4641, allocations: 11.11 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4641, allocations: 0 / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4641, allocations: 3.938 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4641, allocations: 0 / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.4644, allocations: 363.6 kB / 1.235 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4644, allocations: 7.938 kB / 1.235 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.4645, allocations: 7.938 kB / 1.235 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4645, allocations: 0 / 1.235 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4645, allocations: 0 / 1.235 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4645, allocations: 0 / 1.235 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4645, allocations: 0 / 1.235 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.294e-05/0.4646, allocations: 74.05 kB / 1.235 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.4646, allocations: 89.17 kB / 1.235 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4647, allocations: 7.938 kB / 1.235 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.4648, allocations: 0 / 1.235 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.4648, allocations: 7.984 kB / 1.235 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4648, allocations: 3.938 kB / 1.235 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.4649, allocations: 87.27 kB / 1.236 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4649, allocations: 0 / 1.236 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001933/0.4651, allocations: 4.031 kB / 1.236 GB, free: 9.398 MB / 0.9981 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.0003613/0.4654, allocations: 0.6172 MB / 1.236 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.4655, allocations: 15.97 kB / 1.236 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4655, allocations: 0 / 1.236 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.4655, allocations: 4 kB / 1.236 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4658, allocations: 14.05 kB / 1.236 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.4662, allocations: 153 kB / 1.236 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.4664, allocations: 0.6849 MB / 1.237 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.4665, allocations: 4 kB / 1.237 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.4665, allocations: 7.438 kB / 1.237 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.4665, allocations: 0 / 1.237 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4927, allocations: 1.467 MB / 1.238 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.092, allocations: 0 / 1.238 GB, free: 6.434 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > 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