Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008612/0.0008612, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009983/0.0009983, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8797/0.8797, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.043e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003762/0.003782, allocations: 3.89 MB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.003904, allocations: 135.5 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.003926, allocations: 0 / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.00403, allocations: 15.92 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.004097, allocations: 7.922 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.004394, allocations: 87.61 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.004467, allocations: 35.86 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.004506, allocations: 3.984 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.004553, allocations: 15.98 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.004618, allocations: 15.92 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.004629, allocations: 4 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.004781, allocations: 51.81 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.004827, allocations: 11.92 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.004847, allocations: 15.98 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.004965, allocations: 59.86 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004967, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004968, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004972, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 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.0002909/0.005263, allocations: 262.3 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.005297, allocations: 16.69 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.005325, allocations: 34.73 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.005352, allocations: 4.938 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.775e-05/0.005419, allocations: 109.7 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.005477, allocations: 55.97 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.005485, allocations: 384 / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.00559, allocations: 71.94 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.005597, allocations: 7.875 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.005606, allocations: 0 / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.00562, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.005656, allocations: 15.98 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.005973, allocations: 228 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.006008, allocations: 22.61 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.116e-05/0.006019, allocations: 4.859 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.006059, allocations: 4.062 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.006086, allocations: 38.5 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.006087, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.006205, allocations: 37.69 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.00623, allocations: 51.41 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.006289, allocations: 101.9 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.0063, allocations: 33.7 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.006337, allocations: 96.02 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.006341, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.006364, allocations: 13.72 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003392/0.006703, allocations: 314.8 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.006716, allocations: 8 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.006736, allocations: 21.64 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.006762, allocations: 21.66 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.006765, allocations: 4 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.421e-05/0.006819, allocations: 53.62 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.00683, allocations: 4 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.006835, allocations: 0 / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006846, allocations: 4 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.006887, allocations: 4 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.006892, allocations: 0 / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.006905, allocations: 3.953 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.006916, allocations: 11.92 kB / 1.005 GB, free: 7.293 MB / 0.9636 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.017e-05/0.006966, allocations: 109.8 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.00698, allocations: 8.062 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.007069, allocations: 120.9 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/0.00711, allocations: 188.2 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/0.007149, allocations: 176.3 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/0.007188, allocations: 184.2 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.007327, allocations: 380.2 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.007349, allocations: 104.9 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.00737, allocations: 101 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.069e-05/0.007411, allocations: 184.2 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.007451, allocations: 184.3 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.598e-05/0.007487, allocations: 176.3 kB / 1.007 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.899e-05/0.007526, allocations: 184.5 kB / 1.007 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.00762, allocations: 307.7 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.00765, allocations: 109 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.007702, allocations: 184.2 kB / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.007796, allocations: 108.9 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.007844, allocations: 176.3 kB / 1.008 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.00787, allocations: 108.9 kB / 1.008 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.007907, allocations: 95.27 kB / 1.009 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007907, allocations: 0 / 1.009 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001683/0.008075, allocations: 16 kB / 1.009 GB, free: 3.965 MB / 0.9636 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.0003341/0.008409, allocations: 0.8284 MB / 1.009 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.008473, allocations: 7.938 kB / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008474, allocations: 0 / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.008475, allocations: 0 / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.0088, allocations: 477.8 kB / 1.01 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.009514, allocations: 1.32 MB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.009556, allocations: 63.34 kB / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.009592, allocations: 7.938 kB / 1.011 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.009619, allocations: 12.44 kB / 1.011 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of SimCode: time 7.22e-07/0.009619, allocations: 0 / 1.011 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.02345, allocations: 2.16 MB / 1.013 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.363/6.386, allocations: 12.61 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.410173267126083]