Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001675/0.001675, allocations: 108 kB / 15.61 MB, free: 152 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.001916/0.001916, allocations: 198 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4978, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002359/0.5002, allocations: 1.39 MB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.5035, allocations: 2.91 MB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.5036, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.258e-05/0.5037, allocations: 11.92 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.5038, allocations: 43.75 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.5044, allocations: 187.1 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.5046, allocations: 243.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.5046, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.5047, allocations: 91.84 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.5049, allocations: 127.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.5049, allocations: 8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.5053, allocations: 143.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.5054, allocations: 83.81 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5055, allocations: 91.59 kB / 1.023 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.5058, allocations: 269.7 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5059, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5059, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.5059, allocations: 0 / 1.023 GB, free: 13.06 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.0007834/0.5067, allocations: 0.5301 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5067, allocations: 8.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.5068, allocations: 58.67 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5069, allocations: 16.75 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.5071, allocations: 240 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.5072, allocations: 24.36 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.5072, allocations: 20.38 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.5079, allocations: 293.1 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5079, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.5079, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.5079, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5093, allocations: 0.7491 MB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.5097, allocations: 305 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5114, allocations: 0.6793 MB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.5119, allocations: 228.7 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.5123, allocations: 400.3 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5123, allocations: 34.56 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.5123, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001666/0.514, allocations: 0.6456 MB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.5141, allocations: 59.41 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.5142, allocations: 129.6 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5142, allocations: 41.64 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.5142, allocations: 88.78 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-05/0.5143, allocations: 118.2 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.5144, allocations: 69.67 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.5145, allocations: 330.8 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.515, allocations: 199.7 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.5155, allocations: 192.8 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.5165, allocations: 364.9 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5165, allocations: 0 / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001103/0.5176, allocations: 468.6 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5176, allocations: 8 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5176, allocations: 4 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5176, allocations: 0 / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.518, allocations: 95.84 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.518, allocations: 4 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.5182, allocations: 51.64 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.5183, allocations: 20 kB / 1.029 GB, free: 6.352 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.000109/0.5184, allocations: 137.8 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.5184, allocations: 23.75 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.5197, allocations: 0.5141 MB / 1.03 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5197, allocations: 4 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5197, allocations: 0 / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5197, allocations: 3.984 kB / 1.03 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.52, allocations: 313.3 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.52, allocations: 3.938 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.5204, allocations: 95.86 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5204, allocations: 4 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5204, allocations: 11.98 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5204, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5204, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5215, allocations: 0.4964 MB / 1.031 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.5216, allocations: 96.8 kB / 1.031 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5216, allocations: 8 kB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5218, allocations: 39.95 kB / 1.031 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.522, allocations: 111.8 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5221, allocations: 15.98 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.5221, allocations: 99.27 kB / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5221, allocations: 0 / 1.031 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003573/0.5225, allocations: 119.9 kB / 1.031 GB, free: 4.168 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.001576/0.5241, allocations: 1.123 MB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.5253, allocations: 0.5503 MB / 1.033 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5253, allocations: 0 / 1.033 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.5259, allocations: 264 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.5263, allocations: 87.86 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.5303, allocations: 2.66 MB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.5306, allocations: 0.7289 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004262/0.531, allocations: 188.9 kB / 1.037 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5312, allocations: 63.41 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of SimCode: time 1.863e-06/0.5312, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.5537, allocations: 7.364 MB / 1.044 GB, free: 7.164 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.711, allocations: 15.33 kB / 1.044 GB, free: 7.152 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_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_PropyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches