Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008631/0.0008631, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.753/1.753, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9505 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.287e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004036/0.004058, allocations: 3.894 MB / 0.9543 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.004191, allocations: 139.5 kB / 0.9544 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.004215, allocations: 0 / 0.9544 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.004321, allocations: 3.938 kB / 0.9544 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.004397, allocations: 19.91 kB / 0.9544 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.004702, allocations: 87.56 kB / 0.9545 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.004783, allocations: 35.84 kB / 0.9545 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.004833, allocations: 3.984 kB / 0.9545 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.004892, allocations: 19.98 kB / 0.9546 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.004967, allocations: 15.86 kB / 0.9546 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.00498, allocations: 4 kB / 0.9546 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.005145, allocations: 59.8 kB / 0.9546 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.005192, allocations: 7.984 kB / 0.9546 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.00521, allocations: 7.938 kB / 0.9547 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.005343, allocations: 63.84 kB / 0.9547 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.00535, allocations: 4 kB / 0.9547 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005351, allocations: 0 / 0.9547 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005355, allocations: 0 / 0.9547 GB, free: 14.01 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002989/0.005654, allocations: 258.3 kB / 0.955 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005689, allocations: 12.03 kB / 0.955 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.005718, allocations: 34.75 kB / 0.955 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.005745, allocations: 4.938 kB / 0.955 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/0.005823, allocations: 109.7 kB / 0.9551 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.005877, allocations: 55.95 kB / 0.9552 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.005885, allocations: 4.375 kB / 0.9552 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005996, allocations: 79.88 kB / 0.9553 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006004, allocations: 3.938 kB / 0.9553 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.006011, allocations: 0 / 0.9553 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.006028, allocations: 4 kB / 0.9553 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.006062, allocations: 11.98 kB / 0.9553 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.006376, allocations: 228 kB / 0.9555 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/0.006408, allocations: 26.52 kB / 0.9555 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.006422, allocations: 8.922 kB / 0.9555 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.006459, allocations: 7.984 kB / 0.9555 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.006478, allocations: 30.56 kB / 0.9556 GB, free: 13 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.006479, allocations: 4 kB / 0.9556 GB, free: 13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.006597, allocations: 33.64 kB / 0.9556 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.006622, allocations: 51.41 kB / 0.9556 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.006685, allocations: 109.8 kB / 0.9557 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.006695, allocations: 25.7 kB / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.006738, allocations: 92.22 kB / 0.9559 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.006743, allocations: 4 kB / 0.9559 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.006772, allocations: 21.66 kB / 0.9559 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.006842, allocations: 310.8 kB / 0.9562 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.006854, allocations: 8 kB / 0.9562 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.00687, allocations: 13.72 kB / 0.9562 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.006899, allocations: 29.58 kB / 0.9562 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006901, allocations: 0 / 0.9562 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.649e-05/0.006947, allocations: 49.7 kB / 0.9563 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.006958, allocations: 7.984 kB / 0.9563 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006962, allocations: 0 / 0.9563 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.006972, allocations: 3.938 kB / 0.9563 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.007007, allocations: 8 kB / 0.9563 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007012, allocations: 3.938 kB / 0.9563 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.007023, allocations: 0 / 0.9563 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.007031, allocations: 0 / 0.9563 GB, free: 12.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.198e-05/0.007083, allocations: 113.8 kB / 0.9564 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.007095, allocations: 0 / 0.9564 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.007188, allocations: 125 kB / 0.9565 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/0.007231, allocations: 188.2 kB / 0.9567 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/0.007276, allocations: 176.3 kB / 0.9569 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/0.007316, allocations: 184.2 kB / 0.9571 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.007462, allocations: 380.2 kB / 0.9574 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/0.007485, allocations: 105 kB / 0.9575 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.007509, allocations: 108.9 kB / 0.9576 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.75e-05/0.007546, allocations: 176.3 kB / 0.9578 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.007587, allocations: 180.3 kB / 0.958 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/0.007627, allocations: 184.2 kB / 0.9581 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.534e-05/0.007662, allocations: 180.3 kB / 0.9583 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/0.007749, allocations: 315.6 kB / 0.9586 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.007778, allocations: 101 kB / 0.9587 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.007831, allocations: 188.2 kB / 0.9589 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.007921, allocations: 109.2 kB / 0.959 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.007969, allocations: 184.2 kB / 0.9592 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.007991, allocations: 105 kB / 0.9593 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.008022, allocations: 87.27 kB / 0.9593 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.008022, allocations: 0 / 0.9593 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001584/0.008181, allocations: 19.94 kB / 0.9594 GB, free: 8.832 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002987/0.008479, allocations: 0.8284 MB / 0.9602 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.643e-05/0.008536, allocations: 11.98 kB / 0.9602 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.008538, allocations: 0 / 0.9602 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.008539, allocations: 4 kB / 0.9602 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.00885, allocations: 463.6 kB / 0.9606 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.009551, allocations: 1.324 MB / 0.9619 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.009597, allocations: 55.48 kB / 0.962 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.009627, allocations: 11.98 kB / 0.962 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.00965, allocations: 8.5 kB / 0.962 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/0.00965, allocations: 0 / 0.962 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.02519, allocations: 2.163 MB / 0.9641 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/6.777, allocations: 7.781 kB / 0.9641 GB, free: 3.973 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 10.978821543045342]