Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001614/0.001614, 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.002151/0.002151, allocations: 218.7 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.004 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.258/3.258, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.002024/0.002024, allocations: 70.69 kB / 1.177 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3944, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002739/0.3972, allocations: 1.417 MB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00403/0.4012, allocations: 2.985 MB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.4012, allocations: 3.938 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.4013, allocations: 11.98 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4015, allocations: 39.8 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.4021, allocations: 187.4 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.4024, allocations: 255.4 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.4025, allocations: 7.938 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.4026, allocations: 95.8 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.4028, allocations: 131.7 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.4028, allocations: 12 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.4032, allocations: 143.8 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4033, allocations: 83.77 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4034, allocations: 91.64 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.4038, allocations: 283 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4038, allocations: 0 / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4038, allocations: 0 / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4038, allocations: 0 / 1.358 GB, free: 2.699 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.0008376/0.4047, allocations: 465.2 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4047, allocations: 16.02 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.4048, allocations: 46.75 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4049, allocations: 20.83 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.4052, allocations: 182.2 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.4052, allocations: 24.36 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.4052, allocations: 16.38 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.4059, allocations: 296.8 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4059, allocations: 0 / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4059, allocations: 7.938 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4059, allocations: 7.984 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.4075, allocations: 0.749 MB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4078, allocations: 284.2 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.4094, allocations: 0.6452 MB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.4099, allocations: 212.6 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.4102, allocations: 87.84 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4102, allocations: 38.56 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.4103, allocations: 0 / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001649/0.4119, allocations: 0.6507 MB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4119, allocations: 55.41 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4121, allocations: 126.9 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4121, allocations: 37.7 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.4122, allocations: 88.78 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4123, allocations: 130.9 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4124, allocations: 69.67 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4126, allocations: 326.8 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.413, allocations: 195.8 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.4135, allocations: 195.9 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.4144, allocations: 360.3 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4144, allocations: 3.938 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001069/0.4155, allocations: 473 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4155, allocations: 9.406 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4155, allocations: 0 / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4155, allocations: 4 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.4159, allocations: 95.84 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4159, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4161, allocations: 55.73 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.4161, allocations: 16 kB / 1.364 GB, free: 12.59 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.0001521/0.4163, allocations: 141.7 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.4163, allocations: 19.84 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.4175, allocations: 0.5133 MB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4175, allocations: 4 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4175, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4175, allocations: 3.984 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.4179, allocations: 288.4 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4179, allocations: 11.81 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.4182, allocations: 95.92 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4182, allocations: 0 / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.4182, allocations: 11.98 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4182, allocations: 3.938 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4182, allocations: 4 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4193, allocations: 0.4927 MB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.4194, allocations: 27.77 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4194, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.4196, allocations: 39.95 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.4198, allocations: 119.8 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.4198, allocations: 15.94 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.4199, allocations: 99.25 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4199, allocations: 0 / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003963/0.4203, allocations: 119.8 kB / 1.366 GB, free: 10.51 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.001677/0.422, allocations: 1.127 MB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.4231, allocations: 459.6 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4231, allocations: 0 / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005315/0.4236, allocations: 243.7 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.424, allocations: 77.98 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.4283, allocations: 2.681 MB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4286, allocations: 0.7289 MB / 1.371 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.429, allocations: 181.1 kB / 1.371 GB, free: 4.898 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4292, allocations: 67.39 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.4292, allocations: 4 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.468, allocations: 7.781 MB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.82, allocations: 10.16 kB / 1.379 GB, free: 13.24 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.770252451999113]