Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.004444/0.004444, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001088/0.001088, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6886, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1391/0.8277, allocations: 148.3 MB / 1.311 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.8279, allocations: 47.88 kB / 1.311 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.828, allocations: 0 / 1.311 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.8281, allocations: 7.922 kB / 1.311 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.8282, allocations: 15.92 kB / 1.311 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.8291, allocations: 216.5 kB / 1.311 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.8292, allocations: 35.84 kB / 1.311 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.8293, allocations: 4 kB / 1.311 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.8293, allocations: 15.94 kB / 1.311 GB, free: 14.6 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.8294, allocations: 15.97 kB / 1.311 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.8294, allocations: 0 / 1.311 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.83, allocations: 195.4 kB / 1.311 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.8301, allocations: 11.97 kB / 1.311 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.8301, allocations: 15.94 kB / 1.311 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.8304, allocations: 106.5 kB / 1.312 GB, free: 14.26 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8305, allocations: 7.984 kB / 1.312 GB, free: 14.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8305, allocations: 3.938 kB / 1.312 GB, free: 14.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8305, allocations: 0 / 1.312 GB, free: 14.25 MB / 1.045 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.0004313/0.8309, allocations: 340.4 kB / 1.312 GB, free: 13.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.831, allocations: 8.625 kB / 1.312 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.831, allocations: 38.69 kB / 1.312 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.8315, allocations: 24.91 kB / 1.312 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8316, allocations: 168.1 kB / 1.312 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.8317, allocations: 33.7 kB / 1.312 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.8317, allocations: 0 / 1.312 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.8319, allocations: 49.67 kB / 1.312 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8319, allocations: 0 / 1.312 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8319, allocations: 0 / 1.312 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.8319, allocations: 7.984 kB / 1.312 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.832, allocations: 19.98 kB / 1.312 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.8325, allocations: 272.8 kB / 1.313 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.8325, allocations: 22.58 kB / 1.313 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.8326, allocations: 8.922 kB / 1.313 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.8328, allocations: 89.09 kB / 1.313 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.8328, allocations: 38.56 kB / 1.313 GB, free: 12.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.604e-06/0.8329, allocations: 4 kB / 1.313 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003117/0.8332, allocations: 49.62 kB / 1.313 GB, free: 12.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.8332, allocations: 55.34 kB / 1.313 GB, free: 12.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.8333, allocations: 101.8 kB / 1.313 GB, free: 12.72 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.8334, allocations: 29.64 kB / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.8334, allocations: 88.09 kB / 1.313 GB, free: 12.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.8334, allocations: 7.953 kB / 1.313 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.8335, allocations: 25.83 kB / 1.313 GB, free: 12.56 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8336, allocations: 314.8 kB / 1.313 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.8337, allocations: 4 kB / 1.313 GB, free: 12.24 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.8337, allocations: 26.56 kB / 1.313 GB, free: 12.2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.8338, allocations: 34.52 kB / 1.313 GB, free: 12.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8338, allocations: 0 / 1.313 GB, free: 12.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.834, allocations: 53.62 kB / 1.313 GB, free: 12.1 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.834, allocations: 8 kB / 1.313 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.834, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.834, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.8341, allocations: 4 kB / 1.313 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8341, allocations: 7.938 kB / 1.313 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.8342, allocations: 3.953 kB / 1.313 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.8342, allocations: 8.094 kB / 1.313 GB, free: 12.07 MB / 1.045 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.738e-05/0.8343, allocations: 113.8 kB / 1.314 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.8343, allocations: 8 kB / 1.314 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8344, allocations: 7.062 kB / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8344, allocations: 0 / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8344, allocations: 3.938 kB / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.8344, allocations: 0 / 1.314 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.8348, allocations: 371.5 kB / 1.314 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8348, allocations: 4 kB / 1.314 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.8349, allocations: 3.938 kB / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.8349, allocations: 4 kB / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8349, allocations: 0 / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8349, allocations: 0 / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8349, allocations: 0 / 1.314 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.8351, allocations: 78 kB / 1.314 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.8351, allocations: 81.05 kB / 1.314 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.8351, allocations: 0 / 1.314 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.8353, allocations: 4 kB / 1.314 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.8353, allocations: 11.92 kB / 1.314 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.8353, allocations: 8 kB / 1.314 GB, free: 11.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.8354, allocations: 83.5 kB / 1.314 GB, free: 11.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8354, allocations: 0 / 1.314 GB, free: 11.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003697/0.8358, allocations: 8.031 kB / 1.314 GB, free: 11.18 MB / 1.045 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.0004096/0.8362, allocations: 0.6056 MB / 1.315 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.8363, allocations: 23.95 kB / 1.315 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8363, allocations: 0 / 1.315 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.8363, allocations: 8 kB / 1.315 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.8367, allocations: 4 kB / 1.315 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.8372, allocations: 145.1 kB / 1.315 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.8374, allocations: 0.6849 MB / 1.316 GB, free: 9.613 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.938e-05/0.8375, allocations: 7.984 kB / 1.316 GB, free: 9.605 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.8376, allocations: 7.438 kB / 1.316 GB, free: 9.598 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.8376, allocations: 4 kB / 1.316 GB, free: 9.594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.8572, allocations: 1.449 MB / 1.317 GB, free: 8.246 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/8.163, allocations: 16.89 kB / 1.317 GB, free: 8.23 MB / 1.045 GB (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches