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.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.001558/0.001558, allocations: 107.6 kB / 16.45 MB, free: 6.035 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.00254/0.00254, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.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 0.002014/0.002014, allocations: 67.56 kB / 1.104 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 168.7 MB / 1.269 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005997/0.3608, allocations: 4.037 MB / 1.273 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.361, allocations: 163.5 kB / 1.273 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.361, allocations: 0 / 1.273 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3611, allocations: 4 kB / 1.273 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.3612, allocations: 15.92 kB / 1.273 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.3616, allocations: 83.69 kB / 1.273 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.3617, allocations: 35.84 kB / 1.273 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.3617, allocations: 0 / 1.273 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.3618, allocations: 12 kB / 1.273 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.3618, allocations: 19.91 kB / 1.273 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3619, allocations: 0 / 1.273 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.3621, allocations: 63.81 kB / 1.273 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.3621, allocations: 15.91 kB / 1.273 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3622, allocations: 8 kB / 1.273 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3623, allocations: 44.11 kB / 1.273 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3623, allocations: 4 kB / 1.273 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3623, allocations: 0 / 1.273 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3623, allocations: 0 / 1.273 GB, free: 8.32 MB / 0.9825 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.0004485/0.3628, allocations: 331.5 kB / 1.273 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3628, allocations: 12.03 kB / 1.273 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.3628, allocations: 34.73 kB / 1.273 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3629, allocations: 4.938 kB / 1.273 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.363, allocations: 164.3 kB / 1.274 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.3631, allocations: 26.27 kB / 1.274 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3631, allocations: 8.125 kB / 1.274 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3632, allocations: 45.62 kB / 1.274 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3632, allocations: 0 / 1.274 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3632, allocations: 3.938 kB / 1.274 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3633, allocations: 8 kB / 1.274 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.3633, allocations: 11.98 kB / 1.274 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.3638, allocations: 334 kB / 1.274 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.3638, allocations: 18.52 kB / 1.274 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.3638, allocations: 8.859 kB / 1.274 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3639, allocations: 93.14 kB / 1.274 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.364, allocations: 34.56 kB / 1.274 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.364, allocations: 0 / 1.274 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.3641, allocations: 33.7 kB / 1.274 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3642, allocations: 51.41 kB / 1.274 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3643, allocations: 105.8 kB / 1.274 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3643, allocations: 25.7 kB / 1.274 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.3644, allocations: 88.09 kB / 1.274 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.3644, allocations: 12.08 kB / 1.275 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.3644, allocations: 21.64 kB / 1.275 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3646, allocations: 318.7 kB / 1.275 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.3646, allocations: 8 kB / 1.275 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.3646, allocations: 17.7 kB / 1.275 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.3647, allocations: 21.72 kB / 1.275 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3647, allocations: 0 / 1.275 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.488e-05/0.3647, allocations: 49.62 kB / 1.275 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3648, allocations: 4 kB / 1.275 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3648, allocations: 0 / 1.275 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3648, allocations: 0 / 1.275 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.3648, allocations: 8 kB / 1.275 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3648, allocations: 0 / 1.275 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.3648, allocations: 4 kB / 1.275 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.3649, allocations: 0 / 1.275 GB, free: 6.168 MB / 0.9825 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 8.621e-05/0.3649, allocations: 117.8 kB / 1.275 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.365, allocations: 3.984 kB / 1.275 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.3651, allocations: 124.8 kB / 1.275 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/0.3652, allocations: 176.3 kB / 1.275 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.664e-05/0.3653, allocations: 188.2 kB / 1.276 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001166/0.3654, allocations: 184.2 kB / 1.276 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.3658, allocations: 417.1 kB / 1.276 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/0.3658, allocations: 101 kB / 1.276 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.3659, allocations: 101 kB / 1.276 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.3659, allocations: 180.2 kB / 1.276 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.366, allocations: 180.3 kB / 1.277 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.834e-05/0.3661, allocations: 188.2 kB / 1.277 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.829e-05/0.3662, allocations: 180.3 kB / 1.277 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3664, allocations: 311.6 kB / 1.277 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.3665, allocations: 178.1 kB / 1.277 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3666, allocations: 196.2 kB / 1.278 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3667, allocations: 105 kB / 1.278 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.3668, allocations: 176.3 kB / 1.278 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.3669, allocations: 108.9 kB / 1.278 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3669, allocations: 83.28 kB / 1.278 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3669, allocations: 0 / 1.278 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002722/0.3672, allocations: 19.88 kB / 1.278 GB, free: 2.703 MB / 0.9825 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.0007082/0.3679, allocations: 0.8365 MB / 1.279 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.796e-05/0.368, allocations: 11.92 kB / 1.279 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.368, allocations: 4.125 kB / 1.279 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-06/0.368, allocations: 0 / 1.279 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3684, allocations: 464 kB / 1.279 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3697, allocations: 1.328 MB / 1.281 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.37, allocations: 0.6729 MB / 1.281 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.37, allocations: 4 kB / 1.281 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.37, allocations: 11.42 kB / 1.281 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.37, allocations: 4 kB / 1.281 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3926, allocations: 1.522 MB / 1.283 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.544, allocations: 7.938 kB / 1.283 GB, free: 13.81 MB / 0.9981 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.129677499644458]