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.00777/0.00777, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.002053/0.002053, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.666/2.666, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.268, allocations: 151.6 MB / 1.166 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002407/0.2704, allocations: 1.378 MB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.2741, allocations: 2.925 MB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.2742, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.776e-05/0.2742, allocations: 3.984 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2744, allocations: 39.81 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2749, allocations: 179.1 kB / 1.171 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.2752, allocations: 247.5 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.2752, allocations: 4 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2753, allocations: 99.8 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2755, allocations: 123.7 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.2755, allocations: 8 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.2759, allocations: 139.8 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.276, allocations: 87.75 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2762, allocations: 91.64 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.2766, allocations: 283.3 kB / 1.172 GB, free: 1.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2766, allocations: 0 / 1.172 GB, free: 1.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2766, allocations: 0 / 1.172 GB, free: 1.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2766, allocations: 0 / 1.172 GB, free: 1.789 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.0008983/0.2775, allocations: 0.5296 MB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2775, allocations: 8.031 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.2776, allocations: 46.73 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2777, allocations: 24.8 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.278, allocations: 240.1 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.2781, allocations: 28.36 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2781, allocations: 12.38 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.2788, allocations: 293.1 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2788, allocations: 0 / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2789, allocations: 4 kB / 1.173 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2789, allocations: 8 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.2805, allocations: 0.7451 MB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.2809, allocations: 313.1 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.2827, allocations: 0.6752 MB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.2833, allocations: 228.7 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.2837, allocations: 400.2 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2838, allocations: 34.56 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.2838, allocations: 4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001777/0.2856, allocations: 0.6498 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2856, allocations: 55.41 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2857, allocations: 130 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.2858, allocations: 29.7 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.2858, allocations: 92.78 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.286, allocations: 134.9 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2861, allocations: 65.67 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2863, allocations: 334.8 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.2868, allocations: 187.8 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.2873, allocations: 205 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/0.2883, allocations: 356.7 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2883, allocations: 0 / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001196/0.2895, allocations: 476.3 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2896, allocations: 8 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2896, allocations: 0 / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2896, allocations: 0 / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.29, allocations: 103.8 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.29, allocations: 3.938 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2902, allocations: 51.8 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.2903, allocations: 8 kB / 1.178 GB, free: 11.07 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.0001389/0.2904, allocations: 145.8 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.2905, allocations: 23.84 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2918, allocations: 0.5138 MB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2918, allocations: 8 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2918, allocations: 0 / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2919, allocations: 3.984 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.2922, allocations: 317.3 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2922, allocations: 3.938 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.2926, allocations: 95.86 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2926, allocations: 0 / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.2927, allocations: 11.98 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.2927, allocations: 8 kB / 1.179 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2927, allocations: 3.938 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.2939, allocations: 0.4926 MB / 1.179 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.294, allocations: 100.9 kB / 1.18 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.294, allocations: 4 kB / 1.18 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2942, allocations: 35.95 kB / 1.18 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.2944, allocations: 115.8 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.2945, allocations: 19.98 kB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.2946, allocations: 99.2 kB / 1.18 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2946, allocations: 0 / 1.18 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003771/0.295, allocations: 123.7 kB / 1.18 GB, free: 8.867 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.001775/0.2967, allocations: 1.123 MB / 1.181 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.298, allocations: 479.6 kB / 1.181 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.298, allocations: 0 / 1.181 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.2986, allocations: 255.7 kB / 1.182 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.299, allocations: 78.5 kB / 1.182 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.3036, allocations: 2.685 MB / 1.184 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3039, allocations: 0.7365 MB / 1.185 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.3044, allocations: 184.8 kB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3045, allocations: 63.39 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3045, allocations: 0 / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.334, allocations: 7.428 MB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.243, allocations: 3.953 kB / 1.193 GB, free: 11.88 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