Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001317/0.001317, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001407/0.001407, allocations: 219.7 kB / 22.25 MB, free: 5.258 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7951 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",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.002125/0.002125, allocations: 62.38 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006127/0.4027, allocations: 3.631 MB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.403, allocations: 147.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.403, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.4031, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.4032, allocations: 15.92 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.4035, allocations: 87.69 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.4036, allocations: 39.84 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.4037, allocations: 3.984 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.4037, allocations: 15.92 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.4038, allocations: 15.97 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.4038, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006427/0.4045, allocations: 219.6 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.4045, allocations: 7.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4045, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.4047, allocations: 59.86 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4047, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4047, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4047, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 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.0004851/0.4052, allocations: 262.3 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4052, allocations: 8.031 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.4053, allocations: 34.69 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.4053, allocations: 12.92 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4054, allocations: 110.5 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.4055, allocations: 55.97 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4055, allocations: 4.125 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4057, allocations: 63.39 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4057, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4057, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4057, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.4057, allocations: 15.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.4062, allocations: 227.9 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.4062, allocations: 26.56 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.4063, allocations: 4.859 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.4063, allocations: 8.062 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4063, allocations: 34.56 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4063, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.4065, allocations: 37.59 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.4065, allocations: 63.33 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.4066, allocations: 97.86 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4067, allocations: 25.7 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.4067, allocations: 96.2 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/0.4067, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.4067, allocations: 17.72 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4069, allocations: 314.8 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.4069, allocations: 4 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.4069, allocations: 21.7 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.407, allocations: 21.66 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.407, allocations: 3.938 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.085e-05/0.4071, allocations: 49.69 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4071, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4071, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4071, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.4071, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4071, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.4072, allocations: 3.953 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.4072, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 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 9.131e-05/0.4073, allocations: 121.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.4073, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.4074, allocations: 120.4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/0.4075, allocations: 188.2 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.772e-05/0.4076, allocations: 176.3 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.219e-05/0.4077, allocations: 184.2 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.4079, allocations: 384.2 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-05/0.408, allocations: 105 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.408, allocations: 105.2 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/0.4081, allocations: 180.3 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.745e-05/0.4082, allocations: 180.2 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.395e-05/0.4083, allocations: 176.3 kB / 1.333 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.513e-05/0.4084, allocations: 188.2 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.4086, allocations: 311.7 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.4086, allocations: 108.9 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.4088, allocations: 184.2 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4089, allocations: 105 kB / 1.334 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.409, allocations: 180.2 kB / 1.334 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.4091, allocations: 101 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.4091, allocations: 91.27 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4091, allocations: 0 / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002713/0.4094, allocations: 15.94 kB / 1.335 GB, free: 8.02 MB / 1.029 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.0005588/0.41, allocations: 0.8437 MB / 1.335 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.67e-05/0.41, allocations: 12 kB / 1.335 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.41, allocations: 0 / 1.335 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.41, allocations: 7.875 kB / 1.335 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.4105, allocations: 460.8 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4117, allocations: 1.325 MB / 1.337 GB, free: 5.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.4118, allocations: 59.47 kB / 1.337 GB, free: 5.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.4118, allocations: 8 kB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.4119, allocations: 11.44 kB / 1.337 GB, free: 5.168 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4119, allocations: 0 / 1.337 GB, free: 5.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.4407, allocations: 2.068 MB / 1.339 GB, free: 3.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 0 / 1.339 GB, free: 3.234 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.402542955998797]