Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001715/0.001715, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001903/0.001903, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001946/0.001946, allocations: 68.66 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.385, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002802/0.3878, allocations: 1.407 MB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.3922, allocations: 3.004 MB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3923, allocations: 0 / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.3924, allocations: 7.922 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.3925, allocations: 39.81 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.3933, allocations: 191.5 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.3937, allocations: 251.4 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.3937, allocations: 7.938 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.3939, allocations: 87.86 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.3941, allocations: 131.7 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.3942, allocations: 12 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.3947, allocations: 143.8 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3948, allocations: 91.75 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.395, allocations: 87.64 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.3955, allocations: 275.1 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3955, allocations: 4 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3955, allocations: 0 / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.3955, allocations: 0 / 1.358 GB, free: 2.66 MB / 1.045 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.0009106/0.3964, allocations: 469.2 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3965, allocations: 16.03 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.3965, allocations: 46.73 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3966, allocations: 16.84 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3969, allocations: 191.5 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.397, allocations: 24.36 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.397, allocations: 12.38 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.3977, allocations: 293 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3977, allocations: 7.938 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.3977, allocations: 8 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3977, allocations: 4 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.3992, allocations: 0.7488 MB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3996, allocations: 280.2 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.4013, allocations: 0.6491 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.4019, allocations: 212.7 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/0.4022, allocations: 91.86 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4022, allocations: 34.5 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.863e-06/0.4022, allocations: 7.938 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001668/0.4039, allocations: 0.646 MB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4039, allocations: 55.41 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4041, allocations: 133.2 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4041, allocations: 33.69 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.4042, allocations: 88.8 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4043, allocations: 130.9 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4044, allocations: 65.67 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4046, allocations: 330.8 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.4051, allocations: 195.8 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.4056, allocations: 200.8 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.4064, allocations: 360.2 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4064, allocations: 0 / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001084/0.4075, allocations: 473 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4076, allocations: 9.719 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4076, allocations: 4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4076, allocations: 0 / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.408, allocations: 91.86 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.408, allocations: 4 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4082, allocations: 55.73 kB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4082, allocations: 15.97 kB / 1.364 GB, free: 12.54 MB / 1.061 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.0001549/0.4084, allocations: 145.8 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.4084, allocations: 19.84 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.4096, allocations: 0.5102 MB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4096, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4097, allocations: 3.984 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4097, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.4101, allocations: 292.3 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4101, allocations: 3.938 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.4104, allocations: 99.84 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4104, allocations: 4 kB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.4105, allocations: 12 kB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4105, allocations: 0 / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4105, allocations: 0 / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4116, allocations: 0.4888 MB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.4116, allocations: 23.78 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.4117, allocations: 11.98 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4118, allocations: 35.97 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.4121, allocations: 123.8 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4121, allocations: 15.98 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.4122, allocations: 95.27 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4122, allocations: 0 / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004118/0.4126, allocations: 119.7 kB / 1.366 GB, free: 10.47 MB / 1.061 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.001851/0.4145, allocations: 1.123 MB / 1.367 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.4156, allocations: 459.6 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4156, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.4161, allocations: 243.7 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.4165, allocations: 75.92 kB / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.4211, allocations: 2.681 MB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.4216, allocations: 0.7328 MB / 1.371 GB, free: 5.031 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000424/0.422, allocations: 188.8 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4222, allocations: 63.41 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.4222, allocations: 0 / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.4628, allocations: 7.791 MB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.87, allocations: 2.062 kB / 1.379 GB, free: 13.2 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.812225569039583]