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: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001106/0.001106, 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.001097/0.001097, allocations: 194 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.435/1.435, 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.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.66 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.138/0.3955, allocations: 148.3 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.3957, allocations: 59.8 kB / 1.209 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3957, allocations: 0 / 1.209 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.3958, allocations: 8 kB / 1.209 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.396, allocations: 11.91 kB / 1.209 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.3966, allocations: 218.3 kB / 1.209 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.3967, allocations: 35.84 kB / 1.209 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.3968, allocations: 0 / 1.209 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.3968, allocations: 15.94 kB / 1.209 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.3969, allocations: 11.97 kB / 1.209 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3969, allocations: 4 kB / 1.209 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.3973, allocations: 199.4 kB / 1.209 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.3974, allocations: 7.984 kB / 1.209 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3974, allocations: 11.94 kB / 1.209 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3976, allocations: 115.9 kB / 1.209 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3976, allocations: 4 kB / 1.209 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.457e-06/0.3977, allocations: 3.984 kB / 1.209 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3977, allocations: 0 / 1.209 GB, free: 8.938 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.0003959/0.3981, allocations: 335.5 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3981, allocations: 12.03 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.3982, allocations: 34.75 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.3985, allocations: 32.81 kB / 1.21 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3987, allocations: 164.1 kB / 1.21 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.3988, allocations: 25.7 kB / 1.21 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3988, allocations: 4 kB / 1.21 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3989, allocations: 49.67 kB / 1.21 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.399, allocations: 0 / 1.21 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.399, allocations: 0 / 1.21 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.399, allocations: 7.938 kB / 1.21 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.3991, allocations: 23.98 kB / 1.21 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3995, allocations: 252.9 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.3995, allocations: 30.56 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.3996, allocations: 4.859 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.3998, allocations: 101.1 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3998, allocations: 42.5 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.417e-06/0.3998, allocations: 0 / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/0.4001, allocations: 53.62 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4002, allocations: 55.34 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.4002, allocations: 97.84 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4003, allocations: 33.83 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.4003, allocations: 88.05 kB / 1.211 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.4004, allocations: 3.906 kB / 1.211 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.4004, allocations: 21.7 kB / 1.211 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4005, allocations: 310.8 kB / 1.211 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.4005, allocations: 4 kB / 1.211 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.4006, allocations: 30.5 kB / 1.211 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.4006, allocations: 34.58 kB / 1.211 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4007, allocations: 3.938 kB / 1.211 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.4008, allocations: 53.62 kB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4008, allocations: 4 kB / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4008, allocations: 0 / 1.211 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4008, allocations: 8.094 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.4009, allocations: 7.938 kB / 1.211 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4009, allocations: 3.938 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.401, allocations: 11.84 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.401, allocations: 0 / 1.211 GB, free: 6.758 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 9.713e-05/0.4011, allocations: 113.8 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4011, allocations: 4 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.4011, allocations: 3.125 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4012, allocations: 0 / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4012, allocations: 11.94 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4012, allocations: 0 / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.4015, allocations: 359.6 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4015, allocations: 0 / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.4016, allocations: 7.938 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.4016, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.4016, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4016, allocations: 4 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4016, allocations: 4.062 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.716e-05/0.4017, allocations: 69.92 kB / 1.212 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.4017, allocations: 88.95 kB / 1.212 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4018, allocations: 0 / 1.212 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4019, allocations: 3.938 kB / 1.212 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.4019, allocations: 11.98 kB / 1.212 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4019, allocations: 4.031 kB / 1.212 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.402, allocations: 79.28 kB / 1.212 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.402, allocations: 0 / 1.212 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002112/0.4022, allocations: 8 kB / 1.212 GB, free: 5.891 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.0003237/0.4025, allocations: 0.6142 MB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.4026, allocations: 11.98 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4026, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.4026, allocations: 11.94 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4029, allocations: 8 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.4033, allocations: 153.4 kB / 1.213 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.4035, allocations: 0.6768 MB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.4035, allocations: 11.97 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4036, allocations: 15.38 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4036, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.4193, allocations: 1.431 MB / 1.215 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.68, allocations: 4.062 kB / 1.215 GB, free: 2.941 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches