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.001521/0.001521, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001817/0.001817, allocations: 215.1 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.002079/0.002079, allocations: 68.31 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007422/0.4022, allocations: 3.831 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.4024, allocations: 151.5 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.4024, allocations: 4 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.4026, allocations: 4 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.4026, allocations: 15.91 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.403, allocations: 93.42 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.4031, allocations: 27.92 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.4032, allocations: 7.922 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.4032, allocations: 27.92 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.4033, allocations: 7.984 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.4033, allocations: 4 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.404, allocations: 243.4 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.404, allocations: 11.92 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.4041, allocations: 7.984 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4042, allocations: 63.86 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4042, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4042, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4042, allocations: 0 / 1.331 GB, free: 13.46 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.0004241/0.4047, allocations: 262.3 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4047, allocations: 12.03 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.469e-05/0.4047, allocations: 192 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.4047, allocations: 30.75 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.4048, allocations: 8.875 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4049, allocations: 110.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.405, allocations: 55.97 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.405, allocations: 7.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4051, allocations: 45.67 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4051, allocations: 0 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4052, allocations: 0 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.4052, allocations: 4 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.4052, allocations: 15.98 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.4057, allocations: 227.9 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.4057, allocations: 18.58 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.4057, allocations: 12.91 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.4058, allocations: 4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.4058, allocations: 34.56 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.4058, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.406, allocations: 41.59 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.406, allocations: 55.34 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.4061, allocations: 106 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4061, allocations: 29.7 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.4062, allocations: 84.09 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.4062, allocations: 3.984 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.4062, allocations: 17.72 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4064, allocations: 314.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.4064, allocations: 7.938 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.4065, allocations: 25.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.4065, allocations: 17.66 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4065, allocations: 4 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.842e-05/0.4066, allocations: 45.69 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4066, allocations: 4 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4066, allocations: 0 / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4066, allocations: 4 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.4066, allocations: 8 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4067, allocations: 4 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.4067, allocations: 3.953 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4067, allocations: 7.938 kB / 1.333 GB, free: 11.64 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.445e-05/0.4068, allocations: 116 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4068, allocations: 4 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.4069, allocations: 109 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/0.407, allocations: 188.2 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-05/0.4071, allocations: 184.2 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.879e-05/0.4072, allocations: 180.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.4075, allocations: 388.5 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.258e-05/0.4076, allocations: 105 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.4076, allocations: 104.9 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.975e-05/0.4077, allocations: 184.3 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.4078, allocations: 180.2 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.4079, allocations: 180.2 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.847e-05/0.408, allocations: 180.2 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.4082, allocations: 315.7 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4082, allocations: 108.9 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.4083, allocations: 176.3 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4085, allocations: 109 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.4086, allocations: 180.2 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.4087, allocations: 113 kB / 1.336 GB, free: 8.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.4087, allocations: 83.22 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4087, allocations: 0 / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002614/0.409, allocations: 16 kB / 1.336 GB, free: 8.312 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.0005833/0.4096, allocations: 0.8358 MB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.4097, allocations: 16 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4097, allocations: 0 / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.4097, allocations: 4 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.4102, allocations: 459.6 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4114, allocations: 1.333 MB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4118, allocations: 0.6768 MB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.4118, allocations: 7.25 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.4118, allocations: 11.44 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4118, allocations: 0 / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.4383, allocations: 1.63 MB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 10.88 kB / 1.34 GB, free: 3.352 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.75241456204094]