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.000852/0.0008552, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00503/0.00503, allocations: 170 kB / 16.26 MB, free: 6.613 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.06/2.06, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.501, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001087/0.5021, allocations: 1.104 MB / 0.9562 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.5047, allocations: 2.888 MB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.5047, allocations: 1.375 kB / 0.9591 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.098e-05/0.5048, allocations: 11.92 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.5049, allocations: 33.5 kB / 0.9591 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.5053, allocations: 160.7 kB / 0.9592 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.5056, allocations: 327.2 kB / 0.9596 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.5056, allocations: 2.969 kB / 0.9596 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.5057, allocations: 93.83 kB / 0.9597 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.5059, allocations: 145.1 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.5059, allocations: 10.88 kB / 0.9598 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.5062, allocations: 142.8 kB / 0.9599 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.5063, allocations: 93.56 kB / 0.96 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.5064, allocations: 119.6 kB / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.5067, allocations: 269.7 kB / 0.9604 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5068, allocations: 0 / 0.9604 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5068, allocations: 5.375 kB / 0.9604 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.5068, allocations: 0 / 0.9604 GB, free: 3.746 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.0006472/0.5074, allocations: 0.5218 MB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5075, allocations: 9.562 kB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.5075, allocations: 52.95 kB / 0.961 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.5076, allocations: 25.48 kB / 0.961 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.5078, allocations: 236.7 kB / 0.9612 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.5078, allocations: 28.02 kB / 0.9612 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.5079, allocations: 18.52 kB / 0.9613 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.5085, allocations: 319.2 kB / 0.9616 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.5085, allocations: 1.281 kB / 0.9616 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.5085, allocations: 9.188 kB / 0.9616 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5085, allocations: 7.375 kB / 0.9616 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5098, allocations: 0.8057 MB / 0.9624 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.5101, allocations: 301.1 kB / 0.9627 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5117, allocations: 0.7785 MB / 0.9634 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.5122, allocations: 262.4 kB / 0.9637 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.5124, allocations: 392.8 kB / 0.964 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.5125, allocations: 40.66 kB / 0.9641 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.5125, allocations: 0.8438 kB / 0.9641 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001528/0.514, allocations: 0.7359 MB / 0.9648 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.514, allocations: 60.33 kB / 0.9649 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.5141, allocations: 124.3 kB / 0.965 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5141, allocations: 31.8 kB / 0.965 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.5141, allocations: 94.66 kB / 0.9651 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.5142, allocations: 122.4 kB / 0.9652 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.5143, allocations: 30.95 kB / 0.9652 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.5143, allocations: 331.8 kB / 0.9656 GB, free: 232 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.5148, allocations: 221 kB / 0.9658 GB, free: 152 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.5152, allocations: 228.6 kB / 0.966 GB, free: 68 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/0.5162, allocations: 427.1 kB / 0.9664 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5162, allocations: 0 / 0.9664 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00106/0.5172, allocations: 0.5199 MB / 0.9669 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5173, allocations: 7.344 kB / 0.9669 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5173, allocations: 0 / 0.9669 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5173, allocations: 2.531 kB / 0.9669 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.5176, allocations: 116.9 kB / 0.967 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5177, allocations: 1.656 kB / 0.967 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.5179, allocations: 66.55 kB / 0.9671 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.5179, allocations: 16.89 kB / 0.9671 GB, free: 15.61 MB / 0.7325 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.0001204/0.518, allocations: 143.8 kB / 0.9672 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.5181, allocations: 20.22 kB / 0.9673 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.5192, allocations: 0.5693 MB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5192, allocations: 4.062 kB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5193, allocations: 0 / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.5193, allocations: 3.984 kB / 0.9678 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.5196, allocations: 309.8 kB / 0.9681 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5196, allocations: 8.812 kB / 0.9681 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.5199, allocations: 117.3 kB / 0.9682 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5199, allocations: 0.875 kB / 0.9682 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.52, allocations: 11.98 kB / 0.9683 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.52, allocations: 2.062 kB / 0.9683 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.52, allocations: 0 / 0.9683 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.5211, allocations: 0.5576 MB / 0.9688 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.5211, allocations: 98.58 kB / 0.9689 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.5212, allocations: 6.312 kB / 0.9689 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5214, allocations: 51.73 kB / 0.969 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.5216, allocations: 119.5 kB / 0.9691 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.5216, allocations: 8.25 kB / 0.9691 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.5216, allocations: 105.8 kB / 0.9692 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5217, allocations: 4 kB / 0.9692 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003478/0.522, allocations: 117.1 kB / 0.9693 GB, free: 14.29 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.001526/0.5235, allocations: 1.172 MB / 0.9704 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5246, allocations: 0.5271 MB / 0.971 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5246, allocations: 0 / 0.971 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.5252, allocations: 290.6 kB / 0.9712 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.5256, allocations: 69.05 kB / 0.9713 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.5294, allocations: 2.874 MB / 0.9741 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.5297, allocations: 0.7308 MB / 0.9748 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000384/0.53, allocations: 181.3 kB / 0.975 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5302, allocations: 70.02 kB / 0.9751 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5302, allocations: 3.938 kB / 0.9751 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.058/2.589, allocations: 6.778 MB / 0.9817 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/2.589, allocations: 206.5 kB / 0.9819 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/4.96, allocations: 3.938 kB / 0.9819 GB, free: 3.516 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