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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 194 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.3/2.3, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.88 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5117, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00201/0.5137, allocations: 1.38 MB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.5163, allocations: 2.918 MB / 0.9539 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.5164, allocations: 0 / 0.9539 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.711e-05/0.5165, allocations: 7.922 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.5166, allocations: 41.41 kB / 0.954 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.517, allocations: 187.7 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.5172, allocations: 236.8 kB / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.5173, allocations: 7.625 kB / 0.9544 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.5173, allocations: 93.97 kB / 0.9545 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.5175, allocations: 122.8 kB / 0.9546 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.5175, allocations: 10.75 kB / 0.9546 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.5178, allocations: 133.3 kB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.5179, allocations: 102.3 kB / 0.9548 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.518, allocations: 82.78 kB / 0.9549 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.5183, allocations: 278.5 kB / 0.9552 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5183, allocations: 0 / 0.9552 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5183, allocations: 0 / 0.9552 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5184, allocations: 0 / 0.9552 GB, free: 4.934 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.0006663/0.519, allocations: 0.5248 MB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5191, allocations: 14.09 kB / 0.9557 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.5191, allocations: 48.5 kB / 0.9557 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.5192, allocations: 21.8 kB / 0.9557 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.5194, allocations: 241.3 kB / 0.956 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.5195, allocations: 24.55 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.5195, allocations: 13.44 kB / 0.956 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.5201, allocations: 293.2 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.5201, allocations: 1.094 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5201, allocations: 5.125 kB / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5202, allocations: 3.344 kB / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.5215, allocations: 0.7462 MB / 0.957 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.5218, allocations: 309.9 kB / 0.9573 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5234, allocations: 0.6817 MB / 0.958 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.5239, allocations: 235.6 kB / 0.9582 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.5242, allocations: 393.3 kB / 0.9586 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.5242, allocations: 36.56 kB / 0.9586 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.512e-06/0.5242, allocations: 0 / 0.9586 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001626/0.5259, allocations: 0.6481 MB / 0.9593 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.5259, allocations: 59.19 kB / 0.9593 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.526, allocations: 122.2 kB / 0.9594 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.526, allocations: 34.73 kB / 0.9595 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.526, allocations: 95.16 kB / 0.9596 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.5261, allocations: 117.6 kB / 0.9597 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.5262, allocations: 69.11 kB / 0.9597 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.5263, allocations: 324.6 kB / 0.96 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.5267, allocations: 197.7 kB / 0.9602 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.5272, allocations: 195.6 kB / 0.9604 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.5281, allocations: 370 kB / 0.9608 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5281, allocations: 4 kB / 0.9608 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001052/0.5292, allocations: 464.1 kB / 0.9612 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5292, allocations: 10.2 kB / 0.9612 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5292, allocations: 1.375 kB / 0.9612 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5292, allocations: 1.281 kB / 0.9612 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5296, allocations: 100.2 kB / 0.9613 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5296, allocations: 1.375 kB / 0.9613 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.5298, allocations: 61.17 kB / 0.9614 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.5298, allocations: 16.45 kB / 0.9614 GB, free: 0.8281 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 9.079e-05/0.5299, allocations: 136.4 kB / 0.9615 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.53, allocations: 20.38 kB / 0.9615 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5311, allocations: 0.515 MB / 0.9621 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5312, allocations: 4.125 kB / 0.9621 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5312, allocations: 0 / 0.9621 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5312, allocations: 3.984 kB / 0.9621 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.5314, allocations: 310.3 kB / 0.9624 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5314, allocations: 7.938 kB / 0.9624 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.5318, allocations: 100.4 kB / 0.9625 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5318, allocations: 1.094 kB / 0.9625 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5318, allocations: 8.188 kB / 0.9625 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5318, allocations: 1.062 kB / 0.9625 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5318, allocations: 1.094 kB / 0.9625 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5329, allocations: 0.4939 MB / 0.963 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.533, allocations: 102.7 kB / 0.963 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.5331, allocations: 18.23 kB / 0.9631 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5332, allocations: 31.78 kB / 0.9631 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.5335, allocations: 118.4 kB / 0.9632 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.5335, allocations: 12.34 kB / 0.9632 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.5336, allocations: 107.9 kB / 0.9633 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5336, allocations: 1.031 kB / 0.9633 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003774/0.534, allocations: 112.6 kB / 0.9634 GB, free: 15.53 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.001602/0.5356, allocations: 1.117 MB / 0.9645 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.5368, allocations: 0.553 MB / 0.9651 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5368, allocations: 0 / 0.9651 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.5374, allocations: 264.1 kB / 0.9653 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.5378, allocations: 77.17 kB / 0.9654 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.542, allocations: 2.668 MB / 0.968 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.5423, allocations: 0.7312 MB / 0.9687 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004402/0.5427, allocations: 180.5 kB / 0.9689 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5428, allocations: 59.22 kB / 0.9689 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5429, allocations: 0 / 0.9689 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.566, allocations: 7.366 MB / 0.9761 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/8.044, allocations: 9.703 kB / 0.9761 GB, free: 6.391 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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