Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_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.001658/0.001658, allocations: 112.5 kB / 15.73 MB, free: 76 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.001875/0.001875, allocations: 189.9 kB / 16.67 MB, free: 6.57 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.291/2.291, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.84 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2184, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00228/0.2207, allocations: 1.392 MB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.2241, allocations: 2.903 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.2242, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.38e-05/0.2243, allocations: 11.92 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2244, allocations: 43.81 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.2249, allocations: 187.1 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.2252, allocations: 239.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.2252, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2253, allocations: 91.84 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2255, allocations: 123.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.2255, allocations: 12 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.2259, allocations: 143.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.226, allocations: 87.81 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2261, allocations: 95.56 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.2265, allocations: 271.3 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2265, allocations: 3.938 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2265, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2265, allocations: 0 / 1.093 GB, free: 12.39 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.0008302/0.2273, allocations: 0.5336 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2274, allocations: 8.031 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.2274, allocations: 54.73 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2275, allocations: 16.84 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2278, allocations: 240.1 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.2279, allocations: 24.36 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.2279, allocations: 16.38 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.2286, allocations: 300.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2286, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2286, allocations: 4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2286, allocations: 4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.2301, allocations: 0.7452 MB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.2305, allocations: 313.3 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.2323, allocations: 0.6757 MB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.2328, allocations: 233.3 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.2332, allocations: 396 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2333, allocations: 46.44 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2333, allocations: 0 / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001696/0.235, allocations: 0.6423 MB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.235, allocations: 59.16 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.2351, allocations: 126.1 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2351, allocations: 29.7 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.2352, allocations: 92.8 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2353, allocations: 134.8 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2354, allocations: 61.69 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2355, allocations: 334.8 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.236, allocations: 191.8 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.2365, allocations: 207.8 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.2375, allocations: 364.3 kB / 1.099 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2375, allocations: 0 / 1.099 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001119/0.2386, allocations: 461.3 kB / 1.099 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2386, allocations: 8 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2387, allocations: 0 / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2387, allocations: 3.938 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.2391, allocations: 99.84 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.2391, allocations: 4 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.2393, allocations: 43.86 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.2393, allocations: 11.98 kB / 1.099 GB, free: 5.68 MB / 0.8575 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.000122/0.2395, allocations: 145.8 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2395, allocations: 23.8 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2407, allocations: 0.5139 MB / 1.1 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2408, allocations: 4 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2408, allocations: 0 / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2408, allocations: 0 / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.2411, allocations: 317.3 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2411, allocations: 7.938 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.2415, allocations: 95.86 kB / 1.1 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.2415, allocations: 4 kB / 1.1 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.2415, allocations: 11.98 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2415, allocations: 4 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2415, allocations: 0 / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2427, allocations: 0.4926 MB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.2427, allocations: 108.8 kB / 1.101 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.2428, allocations: 4 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.243, allocations: 35.95 kB / 1.101 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.2432, allocations: 119.8 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2432, allocations: 11.98 kB / 1.101 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.2433, allocations: 108.8 kB / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2433, allocations: 0 / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003655/0.2437, allocations: 123.7 kB / 1.101 GB, free: 3.469 MB / 0.8575 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.001583/0.2453, allocations: 1.1 MB / 1.102 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.2464, allocations: 483.4 kB / 1.103 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2464, allocations: 4 kB / 1.103 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.247, allocations: 255.7 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2474, allocations: 75.88 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.2516, allocations: 2.697 MB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2519, allocations: 0.7328 MB / 1.106 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.2523, allocations: 192 kB / 1.107 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2524, allocations: 63.41 kB / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.2524, allocations: 0 / 1.107 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.2754, allocations: 7.428 MB / 1.114 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.57, allocations: 5.594 kB / 1.114 GB, free: 6.477 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches