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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 68.08 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6801/0.9478, allocations: 148.7 MB / 1.361 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.9479, allocations: 58.52 kB / 1.361 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.9479, allocations: 4 kB / 1.361 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.641e-05/0.948, allocations: 1.547 kB / 1.361 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.9481, allocations: 14.8 kB / 1.361 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.9488, allocations: 211.4 kB / 1.361 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.9489, allocations: 42.5 kB / 1.361 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.9489, allocations: 5.641 kB / 1.361 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.949, allocations: 16.12 kB / 1.361 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.949, allocations: 12.66 kB / 1.361 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.949, allocations: 4.969 kB / 1.361 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.9495, allocations: 209.4 kB / 1.361 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.9495, allocations: 9.625 kB / 1.361 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.9496, allocations: 10.36 kB / 1.361 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.9498, allocations: 116 kB / 1.361 GB, free: 7.512 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9498, allocations: 0 / 1.361 GB, free: 7.512 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9498, allocations: 1.344 kB / 1.361 GB, free: 7.512 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.9498, allocations: 4 kB / 1.361 GB, free: 7.508 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.000411/0.9502, allocations: 339.5 kB / 1.362 GB, free: 7.148 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.9503, allocations: 8.844 kB / 1.362 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.9503, allocations: 36.7 kB / 1.362 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.9506, allocations: 26.98 kB / 1.362 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.9507, allocations: 167.2 kB / 1.362 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.9508, allocations: 30.83 kB / 1.362 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.9508, allocations: 5.406 kB / 1.362 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.9509, allocations: 52.08 kB / 1.362 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.9509, allocations: 0 / 1.362 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.9509, allocations: 0.7031 kB / 1.362 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.951, allocations: 3.438 kB / 1.362 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.951, allocations: 20.09 kB / 1.362 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.9513, allocations: 263.5 kB / 1.362 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.9514, allocations: 32.41 kB / 1.362 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.9514, allocations: 6.875 kB / 1.362 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.9516, allocations: 95.75 kB / 1.362 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9516, allocations: 31.81 kB / 1.363 GB, free: 6.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.9516, allocations: 0 / 1.363 GB, free: 6.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002292/0.9518, allocations: 52.17 kB / 1.363 GB, free: 6.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.9519, allocations: 51.41 kB / 1.363 GB, free: 6.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.952, allocations: 107.7 kB / 1.363 GB, free: 6.152 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.952, allocations: 31.61 kB / 1.363 GB, free: 6.117 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.952, allocations: 86.16 kB / 1.363 GB, free: 6.031 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-06/0.952, allocations: 10.22 kB / 1.363 GB, free: 6.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.9521, allocations: 14.11 kB / 1.363 GB, free: 6.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9522, allocations: 320.9 kB / 1.363 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.9522, allocations: 3.953 kB / 1.363 GB, free: 5.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.9522, allocations: 21.72 kB / 1.363 GB, free: 5.664 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.9523, allocations: 32.62 kB / 1.363 GB, free: 5.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9523, allocations: 0 / 1.363 GB, free: 5.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.409e-05/0.9524, allocations: 57.45 kB / 1.363 GB, free: 5.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.9524, allocations: 5.688 kB / 1.363 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9524, allocations: 0 / 1.363 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9524, allocations: 2.062 kB / 1.363 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.9525, allocations: 11.59 kB / 1.363 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.9525, allocations: 5.344 kB / 1.363 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.9525, allocations: 5.875 kB / 1.363 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.9525, allocations: 2.25 kB / 1.363 GB, free: 5.578 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 7.579e-05/0.9526, allocations: 113.3 kB / 1.363 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.9526, allocations: 1.875 kB / 1.363 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.9526, allocations: 8.969 kB / 1.363 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9526, allocations: 0 / 1.363 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9526, allocations: 7.094 kB / 1.363 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9526, allocations: 0.6562 kB / 1.363 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.9529, allocations: 359.7 kB / 1.364 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9529, allocations: 6.984 kB / 1.364 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.953, allocations: 8.828 kB / 1.364 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.953, allocations: 7.875 kB / 1.364 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.953, allocations: 1.188 kB / 1.364 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.953, allocations: 1.094 kB / 1.364 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.953, allocations: 0.5156 kB / 1.364 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.9531, allocations: 78.58 kB / 1.364 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.9531, allocations: 82.8 kB / 1.364 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.9531, allocations: 1.75 kB / 1.364 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.9532, allocations: 4.078 kB / 1.364 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.9532, allocations: 1.906 kB / 1.364 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.9532, allocations: 1.406 kB / 1.364 GB, free: 4.852 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.9533, allocations: 85.42 kB / 1.364 GB, free: 4.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.9533, allocations: 0 / 1.364 GB, free: 4.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001822/0.9534, allocations: 6.281 kB / 1.364 GB, free: 4.773 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.000408/0.9539, allocations: 0.6152 MB / 1.365 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.9539, allocations: 19.44 kB / 1.365 GB, free: 4.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9539, allocations: 5.156 kB / 1.365 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-06/0.954, allocations: 3.078 kB / 1.365 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.9542, allocations: 9.891 kB / 1.365 GB, free: 4.145 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.9545, allocations: 148.3 kB / 1.365 GB, free: 3.988 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.9548, allocations: 0.68 MB / 1.366 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.671e-05/0.9548, allocations: 13.77 kB / 1.366 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.9549, allocations: 11.02 kB / 1.366 GB, free: 3.273 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.9549, allocations: 0 / 1.366 GB, free: 3.273 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.9783, allocations: 1.43 MB / 1.367 GB, free: 2.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/8.018, allocations: 7.438 kB / 1.367 GB, free: 2.922 MB / 1.045 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.347662152002158]