Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001336/0.001336, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001459/0.001459, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.996 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 33.25 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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.002036/0.002036, allocations: 72.02 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003073/0.3829, allocations: 1.406 MB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3874, allocations: 3 MB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.3874, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.445e-05/0.3875, allocations: 7.922 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3876, allocations: 35.81 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.3885, allocations: 199.4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.3888, allocations: 235.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.3889, allocations: 11.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.3891, allocations: 95.8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3893, allocations: 127.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.3893, allocations: 12 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.3898, allocations: 151.7 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3899, allocations: 91.77 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3901, allocations: 91.64 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.3906, allocations: 271.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3906, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3906, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3906, allocations: 0 / 1.331 GB, free: 12.18 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008914/0.3915, allocations: 473.2 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3915, allocations: 8.031 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.3916, allocations: 54.73 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3917, allocations: 16.84 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.392, allocations: 182.2 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.3921, allocations: 24.36 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.3921, allocations: 16.38 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3928, allocations: 293.7 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3928, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3928, allocations: 8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3928, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.3944, allocations: 0.7527 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3949, allocations: 284.1 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.3965, allocations: 0.6487 MB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.3971, allocations: 208.7 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.3974, allocations: 91.88 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.3974, allocations: 34.56 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.3974, allocations: 0 / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001686/0.3991, allocations: 0.6537 MB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3992, allocations: 59.41 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3993, allocations: 129.3 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3993, allocations: 29.7 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.3994, allocations: 100.7 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.3995, allocations: 130.9 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3996, allocations: 57.69 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3998, allocations: 334.8 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.4003, allocations: 195.8 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4008, allocations: 200.5 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/0.4017, allocations: 360.5 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4017, allocations: 4 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001153/0.4029, allocations: 465 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4029, allocations: 12 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4029, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4029, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4033, allocations: 95.86 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4033, allocations: 4 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4035, allocations: 51.73 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.4035, allocations: 19.98 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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 0.0001473/0.4037, allocations: 142.3 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.4037, allocations: 23.78 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.405, allocations: 0.5102 MB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.405, allocations: 4 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.405, allocations: 0 / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.405, allocations: 4 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.4054, allocations: 288.3 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.4054, allocations: 3.938 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.4057, allocations: 99.91 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4057, allocations: 4 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.4058, allocations: 15.92 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.4058, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4058, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4069, allocations: 0.4888 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.407, allocations: 23.78 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.407, allocations: 4 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4072, allocations: 43.95 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.4074, allocations: 115.8 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.4074, allocations: 15.98 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.4075, allocations: 99.27 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4075, allocations: 0 / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004144/0.4079, allocations: 119.7 kB / 1.339 GB, free: 4.004 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 (37): * Single equations (assignments): 37 * 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.001777/0.4097, allocations: 1.123 MB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.4109, allocations: 451.7 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4109, allocations: 3.938 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.4115, allocations: 251.6 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.4119, allocations: 75.92 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.4166, allocations: 2.673 MB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.417, allocations: 0.7367 MB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.4174, allocations: 189.2 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4176, allocations: 63.41 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.4176, allocations: 4 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/0.46, allocations: 7.79 MB / 1.352 GB, free: 6.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.95, allocations: 14.75 kB / 1.352 GB, free: 6.727 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.943825053051114]