Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001729/0.001729, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002024/0.002024, allocations: 217.4 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.016/3.016, allocations: 476.8 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 65.66 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006524/0.3599, allocations: 3.823 MB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002594/0.3601, allocations: 167.5 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.3602, allocations: 0 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3603, allocations: 11.92 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.3604, allocations: 3.938 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.3608, allocations: 89.73 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3609, allocations: 35.84 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.361, allocations: 0 / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.361, allocations: 19.97 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3611, allocations: 7.938 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3611, allocations: 8 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.3619, allocations: 242.7 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.3619, allocations: 7.984 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.362, allocations: 15.92 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3621, allocations: 63.8 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3621, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3621, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3622, allocations: 0 / 1.288 GB, free: 7.285 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.0004319/0.3626, allocations: 266.3 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3626, allocations: 8.031 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.3627, allocations: 4.172 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.3627, allocations: 34.75 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.3627, allocations: 4.938 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3628, allocations: 102.5 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.3629, allocations: 55.97 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3629, allocations: 7.922 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3631, allocations: 53.61 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3631, allocations: 0 / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3631, allocations: 3.938 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.3631, allocations: 7.938 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.3632, allocations: 11.98 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3636, allocations: 228 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.3636, allocations: 18.58 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.3637, allocations: 12.92 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.3637, allocations: 7.938 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3638, allocations: 34.55 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3638, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.3639, allocations: 37.66 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3639, allocations: 51.41 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.364, allocations: 105.8 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3641, allocations: 29.83 kB / 1.29 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.3641, allocations: 88.09 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.3641, allocations: 0 / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3642, allocations: 13.72 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3643, allocations: 322.8 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.3643, allocations: 4 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.3643, allocations: 17.67 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.3644, allocations: 29.7 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3644, allocations: 0 / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.545e-05/0.3645, allocations: 45.64 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3645, allocations: 6.031 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3645, allocations: 4 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3645, allocations: 3.984 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.3645, allocations: 4 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3646, allocations: 4 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.3646, allocations: 8.016 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3646, allocations: 7.938 kB / 1.29 GB, free: 5.461 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.37e-05/0.3647, allocations: 109.8 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3647, allocations: 4 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.3648, allocations: 124.9 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/0.3649, allocations: 180.3 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.008e-05/0.365, allocations: 184.2 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.167e-05/0.3651, allocations: 176.3 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3653, allocations: 380.2 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.222e-05/0.3654, allocations: 112.8 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.3654, allocations: 105 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-05/0.3655, allocations: 188.2 kB / 1.292 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/0.3656, allocations: 176.3 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.071e-05/0.3657, allocations: 180.3 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.439e-05/0.3658, allocations: 184.2 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.366, allocations: 311.7 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.366, allocations: 109.2 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.3661, allocations: 180.3 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3663, allocations: 108.9 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.3664, allocations: 176.3 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.3664, allocations: 112.9 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.3665, allocations: 95.2 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3665, allocations: 0 / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000268/0.3668, allocations: 15.94 kB / 1.293 GB, free: 2.121 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.0005448/0.3673, allocations: 0.8204 MB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.3674, allocations: 15.94 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3674, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3674, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.3679, allocations: 461.4 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.369, allocations: 1.337 MB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3693, allocations: 0.669 MB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.3694, allocations: 12.92 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3694, allocations: 11.44 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3694, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.3905, allocations: 1.635 MB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 4.484 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 18.77590504998807]