Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.007375/0.007375, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001869/0.001869, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.66 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2745, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002406/0.277, allocations: 1.391 MB / 1.243 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003725/0.2807, allocations: 2.911 MB / 1.246 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.2808, allocations: 0 / 1.246 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.127e-05/0.2808, allocations: 11.92 kB / 1.246 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.281, allocations: 43.81 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.2815, allocations: 183.1 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2818, allocations: 239.5 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.2818, allocations: 4 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2819, allocations: 95.77 kB / 1.246 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2821, allocations: 119.8 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.2822, allocations: 19.94 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.2825, allocations: 131.9 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2826, allocations: 91.81 kB / 1.247 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2828, allocations: 83.59 kB / 1.247 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.2832, allocations: 283.3 kB / 1.247 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2832, allocations: 3.938 kB / 1.247 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2832, allocations: 0 / 1.247 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.2832, allocations: 0 / 1.247 GB, free: 3.641 MB / 0.9669 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.0009031/0.2841, allocations: 0.5315 MB / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2842, allocations: 8.031 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.2842, allocations: 54.73 kB / 1.247 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2843, allocations: 24.78 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2846, allocations: 232.1 kB / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.2847, allocations: 24.36 kB / 1.248 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.2847, allocations: 20.38 kB / 1.248 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.2854, allocations: 289.1 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2854, allocations: 0 / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2855, allocations: 8 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.2855, allocations: 4 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2871, allocations: 0.7491 MB / 1.249 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.2875, allocations: 309.1 kB / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.2894, allocations: 0.6765 MB / 1.25 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.2899, allocations: 232.7 kB / 1.25 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.2904, allocations: 392.3 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2904, allocations: 38.56 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.2905, allocations: 0 / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001816/0.2923, allocations: 0.6598 MB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2923, allocations: 55.41 kB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2924, allocations: 122.1 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2925, allocations: 29.7 kB / 1.251 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.2925, allocations: 96.78 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2927, allocations: 130.9 kB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2928, allocations: 73.67 kB / 1.251 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2929, allocations: 326.8 kB / 1.252 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.2935, allocations: 195.8 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.294, allocations: 199.8 kB / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2951, allocations: 369 kB / 1.253 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2951, allocations: 3.938 kB / 1.253 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001207/0.2963, allocations: 468.6 kB / 1.253 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2963, allocations: 4 kB / 1.253 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2963, allocations: 3.984 kB / 1.253 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2963, allocations: 0 / 1.253 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.2967, allocations: 95.86 kB / 1.253 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2968, allocations: 8 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.297, allocations: 47.8 kB / 1.253 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.297, allocations: 15.98 kB / 1.253 GB, free: 12.92 MB / 0.9825 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.0001289/0.2971, allocations: 138.3 kB / 1.253 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2972, allocations: 19.84 kB / 1.253 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2985, allocations: 0.5067 MB / 1.254 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2986, allocations: 4 kB / 1.254 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2986, allocations: 4 kB / 1.254 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2986, allocations: 3.984 kB / 1.254 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.2989, allocations: 317.3 kB / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2989, allocations: 3.938 kB / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.2993, allocations: 91.86 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2993, allocations: 7.984 kB / 1.254 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2994, allocations: 8 kB / 1.254 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2994, allocations: 0 / 1.254 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2994, allocations: 0 / 1.254 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3006, allocations: 0.5001 MB / 1.255 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3007, allocations: 96.89 kB / 1.255 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3007, allocations: 19.92 kB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3009, allocations: 31.97 kB / 1.255 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.3012, allocations: 115.8 kB / 1.255 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.3012, allocations: 12 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.3013, allocations: 110.1 kB / 1.255 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3013, allocations: 0 / 1.255 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000356/0.3017, allocations: 115.8 kB / 1.255 GB, free: 10.73 MB / 0.9825 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.001763/0.3034, allocations: 1.127 MB / 1.256 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.3047, allocations: 475.2 kB / 1.257 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3047, allocations: 0 / 1.257 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.3053, allocations: 255.7 kB / 1.257 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3057, allocations: 75.92 kB / 1.257 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.3102, allocations: 2.689 MB / 1.26 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3106, allocations: 0.7289 MB / 1.26 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.311, allocations: 183.9 kB / 1.261 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3112, allocations: 67.39 kB / 1.261 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3112, allocations: 0 / 1.261 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.3403, allocations: 7.435 MB / 1.268 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.214, allocations: 3.938 kB / 1.268 GB, free: 13.75 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches