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.005373/0.005373, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001533/0.001533, allocations: 189.3 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.876/2.876, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6602/0.9301, allocations: 148.3 MB / 1.365 GB, free: 448 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.9303, allocations: 60.02 kB / 1.365 GB, free: 412 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.9303, allocations: 1.156 kB / 1.365 GB, free: 412 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.871e-05/0.9305, allocations: 0.7031 kB / 1.365 GB, free: 412 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.9305, allocations: 10.31 kB / 1.365 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.9313, allocations: 215.1 kB / 1.365 GB, free: 304 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.045e-05/0.9314, allocations: 37.84 kB / 1.365 GB, free: 288 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.9314, allocations: 1.938 kB / 1.365 GB, free: 288 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.9314, allocations: 19.36 kB / 1.365 GB, free: 280 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.9315, allocations: 11.86 kB / 1.365 GB, free: 276 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.9315, allocations: 1.312 kB / 1.365 GB, free: 276 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.932, allocations: 199.2 kB / 1.365 GB, free: 192 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.932, allocations: 7.109 kB / 1.365 GB, free: 192 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.9321, allocations: 13.86 kB / 1.365 GB, free: 184 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.9324, allocations: 116.7 kB / 1.366 GB, free: 152 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9324, allocations: 0 / 1.366 GB, free: 152 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9324, allocations: 0 / 1.366 GB, free: 152 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.9324, allocations: 1.094 kB / 1.366 GB, free: 152 kB / 1.061 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.0004277/0.9328, allocations: 340.9 kB / 1.366 GB, free: 15.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.9329, allocations: 8.938 kB / 1.366 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.9329, allocations: 36.22 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.9332, allocations: 23.36 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.9334, allocations: 167 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.9334, allocations: 30.77 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.9334, allocations: 3.719 kB / 1.366 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.9336, allocations: 55.19 kB / 1.366 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9336, allocations: 1.406 kB / 1.366 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.9336, allocations: 0 / 1.366 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.9336, allocations: 6.188 kB / 1.366 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.9337, allocations: 21.81 kB / 1.366 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.934, allocations: 264.4 kB / 1.367 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.9341, allocations: 19.8 kB / 1.367 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.9341, allocations: 7.578 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.9343, allocations: 100 kB / 1.367 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.9343, allocations: 34.5 kB / 1.367 GB, free: 15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9343, allocations: 1.312 kB / 1.367 GB, free: 15 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.9346, allocations: 47.3 kB / 1.367 GB, free: 14.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.9346, allocations: 53.66 kB / 1.367 GB, free: 14.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.9347, allocations: 105.9 kB / 1.367 GB, free: 14.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.9347, allocations: 29.7 kB / 1.367 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.9348, allocations: 90.05 kB / 1.367 GB, free: 14.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.9348, allocations: 6.109 kB / 1.367 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.9349, allocations: 18.7 kB / 1.367 GB, free: 14.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.935, allocations: 312.9 kB / 1.367 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.935, allocations: 4.203 kB / 1.367 GB, free: 14.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.9351, allocations: 35.3 kB / 1.367 GB, free: 14.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.9351, allocations: 33.84 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9351, allocations: 0 / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.041e-05/0.9352, allocations: 57.02 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.9352, allocations: 5.594 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.9352, allocations: 1.312 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.9353, allocations: 5.406 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.9353, allocations: 10.55 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.9353, allocations: 5.344 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.9354, allocations: 1.438 kB / 1.367 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.9354, allocations: 1.953 kB / 1.367 GB, free: 14.22 MB / 1.076 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.963e-05/0.9355, allocations: 113.5 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.9355, allocations: 1.312 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.9355, allocations: 5.469 kB / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.9355, allocations: 0 / 1.368 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9355, allocations: 9.344 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9355, allocations: 1.688 kB / 1.368 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.9359, allocations: 365 kB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9359, allocations: 0 / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.9359, allocations: 3.812 kB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9359, allocations: 5.25 kB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.9359, allocations: 1.312 kB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9359, allocations: 1.328 kB / 1.368 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.936, allocations: 9.25 kB / 1.368 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.725e-05/0.9361, allocations: 73.2 kB / 1.368 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.9361, allocations: 82.97 kB / 1.368 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.9361, allocations: 1.969 kB / 1.368 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.9362, allocations: 11.22 kB / 1.368 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.9362, allocations: 5.766 kB / 1.368 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.9363, allocations: 1.438 kB / 1.368 GB, free: 13.49 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.9363, allocations: 80.58 kB / 1.368 GB, free: 13.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9363, allocations: 3.938 kB / 1.368 GB, free: 13.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002018/0.9365, allocations: 6.875 kB / 1.368 GB, free: 13.41 MB / 1.076 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.0003996/0.9369, allocations: 0.6145 MB / 1.369 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.937, allocations: 16.19 kB / 1.369 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.937, allocations: 0 / 1.369 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.937, allocations: 8.656 kB / 1.369 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.9373, allocations: 7.234 kB / 1.369 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.9376, allocations: 147.9 kB / 1.369 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.9379, allocations: 0.6762 MB / 1.37 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.938, allocations: 6.812 kB / 1.37 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.938, allocations: 12.47 kB / 1.37 GB, free: 11.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.938, allocations: 1.312 kB / 1.37 GB, free: 11.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.9589, allocations: 1.459 MB / 1.371 GB, free: 11.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.404, allocations: 6.891 kB / 1.371 GB, free: 11.55 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/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