Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.001742/0.001742, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003206, allocations: 71.05 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2479, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1428/0.3907, allocations: 148.3 MB / 1.209 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.3909, allocations: 59.86 kB / 1.209 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.3909, allocations: 4 kB / 1.209 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.391, allocations: 7.922 kB / 1.209 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.3911, allocations: 11.92 kB / 1.209 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.3917, allocations: 203.2 kB / 1.209 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.3918, allocations: 35.91 kB / 1.209 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.3918, allocations: 7.984 kB / 1.209 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.3919, allocations: 19.88 kB / 1.209 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.3919, allocations: 11.97 kB / 1.209 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.392, allocations: 0 / 1.209 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.3923, allocations: 191.5 kB / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.3924, allocations: 11.97 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3924, allocations: 15.94 kB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3926, allocations: 112 kB / 1.21 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3926, allocations: 0 / 1.21 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3927, allocations: 7.938 kB / 1.21 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3927, allocations: 4 kB / 1.21 GB, free: 8.688 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.0003555/0.393, allocations: 343.5 kB / 1.21 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3931, allocations: 12.03 kB / 1.21 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3931, allocations: 30.75 kB / 1.21 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.3934, allocations: 28.81 kB / 1.21 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3935, allocations: 168.1 kB / 1.21 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.3935, allocations: 29.64 kB / 1.21 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3936, allocations: 8 kB / 1.21 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3937, allocations: 49.67 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3937, allocations: 0 / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3937, allocations: 0 / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3937, allocations: 0 / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.3938, allocations: 23.98 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.3941, allocations: 256.9 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.3941, allocations: 34.5 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.3942, allocations: 4.859 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.3943, allocations: 97.16 kB / 1.211 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3944, allocations: 30.56 kB / 1.211 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3944, allocations: 3.938 kB / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.3946, allocations: 53.69 kB / 1.211 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3946, allocations: 59.28 kB / 1.211 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.3947, allocations: 101.8 kB / 1.211 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3947, allocations: 29.7 kB / 1.211 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.3948, allocations: 84.05 kB / 1.211 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.3948, allocations: 3.906 kB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.3948, allocations: 17.72 kB / 1.211 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3949, allocations: 319 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.3949, allocations: 4 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.395, allocations: 22.58 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.395, allocations: 34.5 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.395, allocations: 4 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.642e-05/0.3951, allocations: 53.64 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3951, allocations: 7.984 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3951, allocations: 0 / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.3951, allocations: 0 / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.3952, allocations: 8 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3952, allocations: 3.938 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.3952, allocations: 7.844 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.3952, allocations: 4 kB / 1.211 GB, free: 6.516 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 7.379e-05/0.3953, allocations: 117.9 kB / 1.212 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3954, allocations: 0 / 1.212 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.3954, allocations: 11.05 kB / 1.212 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3954, allocations: 0 / 1.212 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3954, allocations: 3.938 kB / 1.212 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3954, allocations: 4 kB / 1.212 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3957, allocations: 355.6 kB / 1.212 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3957, allocations: 4.062 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.3957, allocations: 11.92 kB / 1.212 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3957, allocations: 0 / 1.212 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.3957, allocations: 0 / 1.212 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3957, allocations: 0 / 1.212 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3957, allocations: 7.938 kB / 1.212 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/0.3958, allocations: 62 kB / 1.212 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3959, allocations: 96.97 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3959, allocations: 7.938 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.396, allocations: 4 kB / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.396, allocations: 4 kB / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.396, allocations: 0 / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.396, allocations: 83.27 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001743/0.3962, allocations: 8 kB / 1.212 GB, free: 5.641 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.0003462/0.3966, allocations: 0.6182 MB / 1.213 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.3967, allocations: 15.94 kB / 1.213 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3967, allocations: 4.219 kB / 1.213 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.3967, allocations: 4 kB / 1.213 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.3969, allocations: 8.406 kB / 1.213 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.3972, allocations: 149 kB / 1.213 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3974, allocations: 0.6768 MB / 1.214 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.3975, allocations: 12.11 kB / 1.214 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3975, allocations: 7.438 kB / 1.214 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3975, allocations: 0 / 1.214 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.814/5.211, allocations: 1.424 MB / 1.215 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/18.21, allocations: 17.5 kB / 1.215 GB, free: 2.684 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches