Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009755, allocations: 188.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4874, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001905/0.4894, allocations: 1.444 MB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.4917, allocations: 2.898 MB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.4918, allocations: 0 / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.773e-05/0.4918, allocations: 7.922 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.4919, allocations: 29.22 kB / 0.9535 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.4924, allocations: 173.5 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.4926, allocations: 240.6 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.4927, allocations: 2.719 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.4928, allocations: 99.02 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4929, allocations: 131.8 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4929, allocations: 10.88 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.4932, allocations: 144.5 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.4933, allocations: 96.91 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.4934, allocations: 90.66 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4936, allocations: 272 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.4937, allocations: 0 / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4937, allocations: 0 / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4937, allocations: 0 / 0.9547 GB, free: 4.914 MB / 0.7169 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.0006379/0.4943, allocations: 0.5365 MB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4944, allocations: 9.312 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.4944, allocations: 49.73 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.4945, allocations: 17.59 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.4947, allocations: 245 kB / 0.9555 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.4947, allocations: 23.92 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.4947, allocations: 13.59 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.4953, allocations: 296.2 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4953, allocations: 3.938 kB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4953, allocations: 7.984 kB / 0.9559 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4953, allocations: 3.094 kB / 0.9559 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4965, allocations: 0.7504 MB / 0.9566 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.4968, allocations: 306 kB / 0.9569 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4982, allocations: 0.6726 MB / 0.9576 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.4987, allocations: 230.8 kB / 0.9578 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.4989, allocations: 394.2 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.499, allocations: 36.97 kB / 0.9582 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.499, allocations: 0 / 0.9582 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001394/0.5004, allocations: 0.6521 MB / 0.9588 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.5004, allocations: 55.22 kB / 0.9589 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.5005, allocations: 125.4 kB / 0.959 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5005, allocations: 30.95 kB / 0.959 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.5005, allocations: 90.98 kB / 0.9591 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.5006, allocations: 129.4 kB / 0.9592 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.5007, allocations: 61 kB / 0.9593 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.5007, allocations: 332.6 kB / 0.9596 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.5011, allocations: 198 kB / 0.9598 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.5015, allocations: 195.4 kB / 0.96 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.5023, allocations: 370.6 kB / 0.9603 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5023, allocations: 0 / 0.9603 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009115/0.5032, allocations: 468.3 kB / 0.9608 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5033, allocations: 5.281 kB / 0.9608 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5033, allocations: 0 / 0.9608 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5033, allocations: 1.094 kB / 0.9608 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.5036, allocations: 104 kB / 0.9609 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5036, allocations: 2.281 kB / 0.9609 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.5038, allocations: 50 kB / 0.9609 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5038, allocations: 15.55 kB / 0.961 GB, free: 0.8086 MB / 0.7169 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 8.595e-05/0.5039, allocations: 139.7 kB / 0.9611 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.5039, allocations: 20.22 kB / 0.9611 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.505, allocations: 0.5054 MB / 0.9616 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.505, allocations: 4.719 kB / 0.9616 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.505, allocations: 0 / 0.9616 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.505, allocations: 7.922 kB / 0.9616 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.5052, allocations: 317.7 kB / 0.9619 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5052, allocations: 8.781 kB / 0.9619 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.5055, allocations: 91.7 kB / 0.962 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5055, allocations: 5.875 kB / 0.962 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.5056, allocations: 15.2 kB / 0.962 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5056, allocations: 2.094 kB / 0.962 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5056, allocations: 0 / 0.962 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5066, allocations: 0.4947 MB / 0.9625 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.5067, allocations: 106.1 kB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.5067, allocations: 6.219 kB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5069, allocations: 40.08 kB / 0.9627 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.5071, allocations: 115.2 kB / 0.9628 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.5071, allocations: 11.98 kB / 0.9628 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.5072, allocations: 100.7 kB / 0.9629 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5072, allocations: 1.156 kB / 0.9629 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003399/0.5075, allocations: 116.3 kB / 0.963 GB, free: 15.5 MB / 0.7325 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.001472/0.509, allocations: 1.125 MB / 0.9641 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.5101, allocations: 0.5525 MB / 0.9646 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5101, allocations: 1.219 kB / 0.9646 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.5106, allocations: 263.9 kB / 0.9649 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.511, allocations: 76.36 kB / 0.965 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5147, allocations: 2.721 MB / 0.9676 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.515, allocations: 0.7299 MB / 0.9683 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003985/0.5154, allocations: 183 kB / 0.9685 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5155, allocations: 64.11 kB / 0.9686 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5155, allocations: 0 / 0.9686 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9119/1.427, allocations: 7.08 MB / 0.9755 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.428, allocations: 207.5 kB / 0.9757 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.157, allocations: 0 / 0.9757 GB, free: 6.508 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches