Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_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.001647/0.001647, 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.001923/0.001923, allocations: 195.2 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4954, allocations: 151.6 MB / 1.017 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002367/0.4978, allocations: 1.383 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.5013, allocations: 2.917 MB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.5013, allocations: 4 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.5014, allocations: 7.922 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.5015, allocations: 39.81 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.5021, allocations: 183.2 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.5023, allocations: 247.4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.5024, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.5025, allocations: 87.91 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.5026, allocations: 127.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.5026, allocations: 8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.503, allocations: 139.9 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.5031, allocations: 87.81 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.5032, allocations: 91.58 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.5036, allocations: 273.5 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5036, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5036, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5036, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 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.0008004/0.5044, allocations: 0.53 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5045, allocations: 12.03 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.5045, allocations: 50.73 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.5046, allocations: 16.75 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.5049, allocations: 240 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.5049, allocations: 24.36 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.505, allocations: 12.38 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.5056, allocations: 293.1 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5056, allocations: 3.938 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.5057, allocations: 12 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5057, allocations: 4 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.5071, allocations: 0.7452 MB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.5075, allocations: 305 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5092, allocations: 0.6754 MB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.5097, allocations: 228.7 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.5101, allocations: 400.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.5102, allocations: 34.56 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.5102, allocations: 3.938 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001657/0.5118, allocations: 0.6495 MB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.5119, allocations: 59.41 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.512, allocations: 125.8 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.512, allocations: 33.7 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.5121, allocations: 88.8 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.5122, allocations: 126.2 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.5123, allocations: 65.69 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5124, allocations: 326.8 kB / 1.028 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.5129, allocations: 199.8 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.5134, allocations: 200.8 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.5143, allocations: 364.8 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5143, allocations: 0 / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001097/0.5154, allocations: 468.5 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5155, allocations: 8 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5155, allocations: 0 / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5155, allocations: 4 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.5159, allocations: 99.84 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.5159, allocations: 0 / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.5161, allocations: 51.66 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.5161, allocations: 19.98 kB / 1.029 GB, free: 6.27 MB / 0.7794 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.0001162/0.5162, allocations: 138.4 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.5163, allocations: 23.75 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.5175, allocations: 0.518 MB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5175, allocations: 4 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5175, allocations: 0 / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5175, allocations: 0 / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.5178, allocations: 313.3 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5179, allocations: 7.938 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.5182, allocations: 95.86 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5182, allocations: 0 / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.5183, allocations: 11.98 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5183, allocations: 0 / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5183, allocations: 0 / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.5194, allocations: 0.4886 MB / 1.031 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.5194, allocations: 100.7 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.5195, allocations: 15.94 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.5197, allocations: 39.95 kB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.5199, allocations: 115.8 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.5199, allocations: 15.98 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.52, allocations: 95.27 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.52, allocations: 0 / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003605/0.5204, allocations: 115.9 kB / 1.031 GB, free: 4.086 MB / 0.7794 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.001575/0.5219, allocations: 1.131 MB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.5232, allocations: 0.5503 MB / 1.033 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5232, allocations: 0 / 1.033 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.5237, allocations: 272 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.5241, allocations: 79.91 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.5283, allocations: 2.652 MB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5286, allocations: 0.7328 MB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004268/0.529, allocations: 179.2 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5291, allocations: 63.39 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.5291, allocations: 4 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.5516, allocations: 7.369 MB / 1.044 GB, free: 7.078 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.685, allocations: 15.69 kB / 1.044 GB, free: 7.062 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches