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.007392/0.007392, allocations: 99.78 kB / 15.73 MB, free: 6.004 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.001846/0.001846, allocations: 190.4 kB / 16.67 MB, free: 5.922 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.16/2.16, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 59.84 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6392, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002121/0.6414, allocations: 1.393 MB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.6443, allocations: 2.899 MB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.6444, allocations: 1.094 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.384e-05/0.6445, allocations: 11.31 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.6446, allocations: 42.39 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.6452, allocations: 191.6 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.6455, allocations: 234.4 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.6455, allocations: 5.719 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.6456, allocations: 94.81 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.6458, allocations: 122.9 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.6458, allocations: 10.84 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.6462, allocations: 135 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.6463, allocations: 88.31 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.6465, allocations: 91.95 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.6469, allocations: 276.2 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6469, allocations: 4.562 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6469, allocations: 0 / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6469, allocations: 5.094 kB / 1.093 GB, free: 1.719 MB / 0.8575 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.000797/0.6477, allocations: 0.5299 MB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6478, allocations: 11.33 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.6478, allocations: 51.3 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.6479, allocations: 18.78 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.6482, allocations: 239.8 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.6482, allocations: 24.39 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.6483, allocations: 13.94 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.6489, allocations: 304.1 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.649, allocations: 0.9844 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.649, allocations: 8.953 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.649, allocations: 4.656 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.6506, allocations: 0.7454 MB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.6509, allocations: 309.8 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6527, allocations: 0.6763 MB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.6532, allocations: 230.6 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.6535, allocations: 400.1 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6536, allocations: 36.59 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.6536, allocations: 0 / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001733/0.6553, allocations: 0.6423 MB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.6554, allocations: 60.28 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.6555, allocations: 127.7 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.6555, allocations: 31.8 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.6556, allocations: 92.7 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6557, allocations: 136.4 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6558, allocations: 62.78 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6559, allocations: 328.8 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.6565, allocations: 202.2 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.657, allocations: 197.2 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.658, allocations: 361.8 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.658, allocations: 0 / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001157/0.6591, allocations: 463.2 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6591, allocations: 6.188 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6592, allocations: 0 / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6592, allocations: 5.812 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6596, allocations: 98.2 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6596, allocations: 1.125 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.6598, allocations: 45.47 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.6598, allocations: 15.8 kB / 1.099 GB, free: 14.76 MB / 0.8731 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.000126/0.66, allocations: 142.6 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.66, allocations: 28.56 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6613, allocations: 0.5123 MB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6613, allocations: 3.938 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6613, allocations: 0.5 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6613, allocations: 6.344 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.6617, allocations: 314.3 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6618, allocations: 4.469 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.6622, allocations: 101.5 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6622, allocations: 2.219 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.6622, allocations: 11.3 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6622, allocations: 1.531 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6622, allocations: 3.984 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6634, allocations: 0.4938 MB / 1.101 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.6635, allocations: 104.1 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.6635, allocations: 5.797 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.6637, allocations: 38.75 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.6639, allocations: 125.3 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.664, allocations: 10.7 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.6641, allocations: 104.3 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6641, allocations: 0 / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003828/0.6644, allocations: 114.5 kB / 1.101 GB, free: 13.8 MB / 0.8731 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.001608/0.6661, allocations: 1.11 MB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.6672, allocations: 480.1 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6672, allocations: 1.438 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.6678, allocations: 259.1 kB / 1.103 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.6682, allocations: 76.03 kB / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.6724, allocations: 2.697 MB / 1.106 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.6727, allocations: 0.7296 MB / 1.106 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.6731, allocations: 186.2 kB / 1.107 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6732, allocations: 69.8 kB / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6732, allocations: 0 / 1.107 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.6963, allocations: 7.421 MB / 1.114 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/8.055, allocations: 17.52 kB / 1.114 GB, free: 9.887 MB / 0.8731 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