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.004017/0.004021, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001033/0.001034, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.169/2.169, allocations: 390.3 MB / 0.6648 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6554, allocations: 140.4 MB / 1.087 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001944/0.6574, allocations: 1.39 MB / 1.089 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.6601, allocations: 2.905 MB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.6601, allocations: 0.8438 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.647e-05/0.6602, allocations: 8.062 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/0.6603, allocations: 49.31 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.6608, allocations: 183.4 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.6611, allocations: 239.2 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.6611, allocations: 5.328 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.6612, allocations: 95.38 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.6613, allocations: 122.7 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.6614, allocations: 14.28 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.6617, allocations: 138.4 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.6618, allocations: 88.78 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.662, allocations: 88.81 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.6623, allocations: 278 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6623, allocations: 0.7969 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6623, allocations: 0.7188 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5e-06/0.6623, allocations: 0 / 1.093 GB, free: 1.762 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.0007521/0.6631, allocations: 0.5268 MB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.6631, allocations: 10.45 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.6632, allocations: 55.91 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.6633, allocations: 19.34 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.6635, allocations: 236.4 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.6636, allocations: 23.88 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.6636, allocations: 25.19 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.6643, allocations: 291.7 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.6643, allocations: 2.234 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.6644, allocations: 5.312 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6644, allocations: 3.188 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.666, allocations: 0.7458 MB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.6663, allocations: 302 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.6681, allocations: 0.6832 MB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.6687, allocations: 239.9 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.669, allocations: 391.4 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.6691, allocations: 37.17 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.6691, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.001755/0.6708, allocations: 0.6459 MB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6709, allocations: 59.59 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.671, allocations: 130.6 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.671, allocations: 31.39 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.6711, allocations: 96.16 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6712, allocations: 128.6 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.6713, allocations: 66.27 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6714, allocations: 329.1 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.6719, allocations: 194.7 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.6725, allocations: 201 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.6735, allocations: 361.6 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6735, allocations: 0 / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001169/0.6746, allocations: 467.1 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.6747, allocations: 5.781 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6747, allocations: 0.9688 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6747, allocations: 1.969 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.6751, allocations: 93.69 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6751, allocations: 1.281 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6753, allocations: 53.08 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.6753, allocations: 15.17 kB / 1.099 GB, free: 14.81 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.000132/0.6755, allocations: 138.9 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.6755, allocations: 20.34 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.6769, allocations: 0.5127 MB / 1.1 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.6769, allocations: 5.188 kB / 1.1 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6769, allocations: 7.938 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.6769, allocations: 6.438 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.6773, allocations: 321.7 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6773, allocations: 0 / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.6777, allocations: 93.95 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6777, allocations: 2.5 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.6778, allocations: 10.39 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6778, allocations: 1.469 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6778, allocations: 1.281 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.679, allocations: 0.5054 MB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.6791, allocations: 99.25 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6792, allocations: 10.77 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.6794, allocations: 34.69 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.6796, allocations: 115.7 kB / 1.101 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6796, allocations: 16.48 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.6797, allocations: 104.3 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6797, allocations: 0 / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003787/0.6801, allocations: 115.1 kB / 1.101 GB, free: 13.86 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.00163/0.6817, allocations: 1.109 MB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.6829, allocations: 475.7 kB / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6829, allocations: 1.469 kB / 1.103 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.6835, allocations: 259.1 kB / 1.103 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.6839, allocations: 75.77 kB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.6882, allocations: 2.683 MB / 1.106 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.6884, allocations: 0.7298 MB / 1.106 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004239/0.6889, allocations: 182.2 kB / 1.107 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.689, allocations: 66.45 kB / 1.107 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.689, allocations: 0 / 1.107 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.7144, allocations: 7.44 MB / 1.114 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/8.163, allocations: 3.266 kB / 1.114 GB, free: 9.969 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