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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001278, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001478, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4808, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00188/0.4827, allocations: 1.446 MB / 0.9504 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.4853, allocations: 2.924 MB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.4854, allocations: 1 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.4854, allocations: 3.984 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.4855, allocations: 37.81 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.486, allocations: 161 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.4862, allocations: 331.2 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.4863, allocations: 7.688 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.4864, allocations: 93.08 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4865, allocations: 132.6 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.4865, allocations: 10.59 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.4869, allocations: 155 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.487, allocations: 89.44 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.049e-05/0.4871, allocations: 87.22 kB / 0.9544 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.4874, allocations: 277 kB / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.4874, allocations: 0 / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4874, allocations: 0 / 0.9546 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4874, allocations: 1.406 kB / 0.9546 GB, free: 4.793 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.0006259/0.4881, allocations: 0.5289 MB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4881, allocations: 8.375 kB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.4882, allocations: 53.98 kB / 0.9552 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.4883, allocations: 17.84 kB / 0.9552 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4884, allocations: 247.9 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.4885, allocations: 27.89 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4885, allocations: 14.97 kB / 0.9555 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.489, allocations: 285.3 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.489, allocations: 0 / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4891, allocations: 5.188 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4891, allocations: 4.531 kB / 0.9558 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4902, allocations: 0.746 MB / 0.9565 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.4905, allocations: 313.4 kB / 0.9568 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4918, allocations: 0.6824 MB / 0.9575 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.4922, allocations: 230.9 kB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.4925, allocations: 393.9 kB / 0.9581 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.4925, allocations: 36.78 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.262e-06/0.4925, allocations: 0 / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001305/0.4938, allocations: 0.6515 MB / 0.9587 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.4939, allocations: 55.84 kB / 0.9588 GB, free: 2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.4939, allocations: 129.5 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4939, allocations: 30.7 kB / 0.9589 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.494, allocations: 91.7 kB / 0.959 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.494, allocations: 121.1 kB / 0.9591 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.4941, allocations: 64.97 kB / 0.9592 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.4942, allocations: 328.4 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.4946, allocations: 190.9 kB / 0.9597 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.4949, allocations: 203.2 kB / 0.9599 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.4956, allocations: 366.2 kB / 0.9602 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4957, allocations: 3.938 kB / 0.9603 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008385/0.4965, allocations: 467.2 kB / 0.9607 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4965, allocations: 7.625 kB / 0.9607 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4965, allocations: 0 / 0.9607 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4965, allocations: 5.219 kB / 0.9607 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.4968, allocations: 100.2 kB / 0.9608 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4969, allocations: 1.375 kB / 0.9608 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.497, allocations: 54.45 kB / 0.9609 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.497, allocations: 12.45 kB / 0.9609 GB, free: 0.6914 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.321e-05/0.4971, allocations: 139.7 kB / 0.961 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.4972, allocations: 20.75 kB / 0.961 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4982, allocations: 0.5191 MB / 0.9615 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4982, allocations: 12.11 kB / 0.9615 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4982, allocations: 0 / 0.9615 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4982, allocations: 0 / 0.9615 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.4985, allocations: 310.4 kB / 0.9618 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.4986, allocations: 208 / 0.9618 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.4989, allocations: 108.2 kB / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4989, allocations: 1.125 kB / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.4989, allocations: 7.844 kB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4989, allocations: 6.359 kB / 0.962 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4989, allocations: 4 kB / 0.962 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5, allocations: 0.4902 MB / 0.9624 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.5001, allocations: 102.5 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.5001, allocations: 6.125 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5003, allocations: 32.09 kB / 0.9626 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.5005, allocations: 118.3 kB / 0.9627 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.5006, allocations: 12.73 kB / 0.9627 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.5006, allocations: 103.9 kB / 0.9628 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.5007, allocations: 0 / 0.9628 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004604/0.5011, allocations: 121 kB / 0.9629 GB, free: 15.38 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.001646/0.5028, allocations: 1.113 MB / 0.964 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009205/0.5037, allocations: 475.2 kB / 0.9645 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5037, allocations: 0 / 0.9645 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.5042, allocations: 260.5 kB / 0.9647 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5046, allocations: 74.78 kB / 0.9648 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.5081, allocations: 2.722 MB / 0.9674 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5083, allocations: 0.7354 MB / 0.9681 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.5087, allocations: 186.2 kB / 0.9683 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5088, allocations: 67.3 kB / 0.9684 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.5088, allocations: 0 / 0.9684 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.744/7.253, allocations: 6.86 MB / 0.9751 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/7.253, allocations: 213.3 kB / 0.9753 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/9.23, allocations: 0 / 0.9753 GB, free: 6.742 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