Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EthyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_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.006577/0.006577, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.00156/0.00156, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.538/2.538, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2329, allocations: 151.6 MB / 1.166 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002257/0.2352, allocations: 1.381 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.2386, allocations: 2.921 MB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2386, allocations: 4 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.256e-05/0.2387, allocations: 3.984 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2388, allocations: 43.8 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.2394, allocations: 175.2 kB / 1.171 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.2397, allocations: 239.5 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.2397, allocations: 7.984 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2398, allocations: 103.8 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.24, allocations: 123.7 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.24, allocations: 8 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.2404, allocations: 135.9 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.2405, allocations: 91.75 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2406, allocations: 87.64 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.241, allocations: 283.3 kB / 1.172 GB, free: 1.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.241, allocations: 0 / 1.172 GB, free: 1.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.241, allocations: 0 / 1.172 GB, free: 1.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.241, allocations: 0 / 1.172 GB, free: 1.816 MB / 0.92 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.0008177/0.2418, allocations: 0.5258 MB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2418, allocations: 12.03 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.2419, allocations: 46.73 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.242, allocations: 28.73 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2423, allocations: 240.1 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.2423, allocations: 28.36 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2424, allocations: 12.38 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.243, allocations: 285.1 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2431, allocations: 3.938 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2431, allocations: 8 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2431, allocations: 8 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2446, allocations: 0.7451 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.245, allocations: 313.1 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2468, allocations: 0.6798 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.2473, allocations: 228.7 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.2477, allocations: 392.3 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2477, allocations: 34.56 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.2477, allocations: 4 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001709/0.2495, allocations: 0.6537 MB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2495, allocations: 55.41 kB / 1.176 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.2496, allocations: 133.5 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2496, allocations: 29.7 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2497, allocations: 92.8 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.2498, allocations: 134.8 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.2499, allocations: 61.69 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.25, allocations: 334.8 kB / 1.177 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.2505, allocations: 191.8 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.251, allocations: 201 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.252, allocations: 368.6 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.252, allocations: 0 / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001143/0.2532, allocations: 468.4 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2532, allocations: 4 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2532, allocations: 4 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2532, allocations: 0 / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.2536, allocations: 103.9 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2536, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2538, allocations: 51.8 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2539, allocations: 15.98 kB / 1.178 GB, free: 11.09 MB / 0.9356 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.0001214/0.254, allocations: 145.7 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.254, allocations: 19.84 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2553, allocations: 0.5063 MB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2553, allocations: 8 kB / 1.179 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2553, allocations: 4 kB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2553, allocations: 0 / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.2556, allocations: 321.2 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2557, allocations: 3.938 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.256, allocations: 95.91 kB / 1.179 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.256, allocations: 0 / 1.179 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2561, allocations: 19.86 kB / 1.179 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2561, allocations: 8 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2561, allocations: 0 / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.2573, allocations: 0.4926 MB / 1.179 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.2573, allocations: 100.9 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.2574, allocations: 4 kB / 1.18 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2576, allocations: 39.95 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.2578, allocations: 115.8 kB / 1.18 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.2578, allocations: 15.98 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.2579, allocations: 99.27 kB / 1.18 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2579, allocations: 0 / 1.18 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003717/0.2583, allocations: 119.7 kB / 1.18 GB, free: 8.891 MB / 0.9356 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.001604/0.2599, allocations: 1.123 MB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.261, allocations: 467.7 kB / 1.181 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2611, allocations: 3.938 kB / 1.181 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.2616, allocations: 263.7 kB / 1.182 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.262, allocations: 71.92 kB / 1.182 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.2662, allocations: 2.681 MB / 1.184 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2665, allocations: 0.7327 MB / 1.185 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000412/0.2669, allocations: 188.3 kB / 1.185 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2671, allocations: 63.41 kB / 1.185 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2671, allocations: 0 / 1.185 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2965, allocations: 7.438 MB / 1.193 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.434, allocations: 14 kB / 1.193 GB, free: 11.91 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches