Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_11_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.00419/0.00419, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001248/0.001248, allocations: 196 kB / 16.68 MB, free: 5.934 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 75.81 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6233, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002348/0.6257, allocations: 1.389 MB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.6293, allocations: 2.914 MB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.6293, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.6294, allocations: 7.922 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.6295, allocations: 47.81 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.6301, allocations: 187.1 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.6303, allocations: 239.5 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.6304, allocations: 4 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.6305, allocations: 91.78 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.6306, allocations: 123.8 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.6307, allocations: 12 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.6311, allocations: 147.7 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.6312, allocations: 87.81 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.6313, allocations: 87.58 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.6317, allocations: 278.8 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.6317, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6317, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6317, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 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.0008696/0.6326, allocations: 0.5374 MB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.6326, allocations: 8.031 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.6327, allocations: 54.73 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.6328, allocations: 16.84 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.6331, allocations: 236.1 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.6331, allocations: 24.36 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.6332, allocations: 20.38 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.6339, allocations: 293.1 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6339, allocations: 0 / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.6339, allocations: 4 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6339, allocations: 4 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.6355, allocations: 0.7452 MB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.6359, allocations: 309.1 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.6377, allocations: 0.6736 MB / 1.228 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.6383, allocations: 236.7 kB / 1.229 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.6387, allocations: 392.3 kB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6388, allocations: 38.56 kB / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.6388, allocations: 0 / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001796/0.6406, allocations: 0.6573 MB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.6406, allocations: 55.41 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6407, allocations: 127.1 kB / 1.23 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.6408, allocations: 33.64 kB / 1.23 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.6408, allocations: 96.78 kB / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.641, allocations: 130.8 kB / 1.23 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6411, allocations: 69.67 kB / 1.23 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6412, allocations: 322.8 kB / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.6418, allocations: 199.8 kB / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.6423, allocations: 195.8 kB / 1.231 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.6433, allocations: 365.9 kB / 1.231 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.6433, allocations: 3.984 kB / 1.231 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00119/0.6445, allocations: 472.5 kB / 1.232 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6445, allocations: 4 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.6446, allocations: 0 / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6446, allocations: 0 / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.645, allocations: 95.84 kB / 1.232 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.645, allocations: 4 kB / 1.232 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.6452, allocations: 51.8 kB / 1.232 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.6452, allocations: 12 kB / 1.232 GB, free: 5.711 MB / 0.9512 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.0001324/0.6454, allocations: 144.8 kB / 1.232 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.6454, allocations: 19.84 kB / 1.232 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6467, allocations: 0.5202 MB / 1.233 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.6468, allocations: 4 kB / 1.233 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6468, allocations: 0 / 1.233 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6468, allocations: 3.984 kB / 1.233 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.6471, allocations: 313.4 kB / 1.233 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6471, allocations: 11.94 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.6475, allocations: 91.86 kB / 1.233 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6475, allocations: 4 kB / 1.233 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.6476, allocations: 11.98 kB / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6476, allocations: 0 / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6476, allocations: 0 / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6488, allocations: 0.4962 MB / 1.233 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.6489, allocations: 108.8 kB / 1.234 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.6489, allocations: 4 kB / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6491, allocations: 35.95 kB / 1.234 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.6494, allocations: 115.8 kB / 1.234 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.6494, allocations: 15.98 kB / 1.234 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.6495, allocations: 99.27 kB / 1.234 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6495, allocations: 0 / 1.234 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000351/0.6498, allocations: 119.8 kB / 1.234 GB, free: 3.516 MB / 0.9512 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.001716/0.6515, allocations: 1.12 MB / 1.235 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.6527, allocations: 479.1 kB / 1.235 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6528, allocations: 4 kB / 1.235 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.6534, allocations: 256.7 kB / 1.236 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.6538, allocations: 79.86 kB / 1.236 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.6583, allocations: 2.679 MB / 1.238 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6586, allocations: 0.7328 MB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004133/0.659, allocations: 180.3 kB / 1.239 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.6592, allocations: 67.39 kB / 1.239 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.6592, allocations: 0 / 1.239 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.688, allocations: 7.44 MB / 1.247 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.719, allocations: 13.81 kB / 1.247 GB, free: 6.527 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches