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.004344/0.004344, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001083/0.001083, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.56/2.56, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2309, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00213/0.2331, allocations: 1.391 MB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.2364, allocations: 2.917 MB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.2364, allocations: 3.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.754e-05/0.2365, allocations: 3.984 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2366, allocations: 39.81 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.2371, allocations: 187.1 kB / 1.171 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.2374, allocations: 239.5 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.2374, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.2375, allocations: 99.78 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2377, allocations: 119.8 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.2377, allocations: 15.94 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.2381, allocations: 139.8 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.2382, allocations: 87.77 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2383, allocations: 87.64 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.2386, allocations: 283.3 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2386, allocations: 0 / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2386, allocations: 3.984 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2386, allocations: 0 / 1.172 GB, free: 1.66 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.0007789/0.2394, allocations: 0.5219 MB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2395, allocations: 12.03 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.2395, allocations: 54.67 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.2396, allocations: 20.8 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2399, allocations: 244 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.2399, allocations: 24.36 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.24, allocations: 16.38 kB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.2406, allocations: 293.1 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2406, allocations: 0 / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.2406, allocations: 4 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2406, allocations: 4 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2421, allocations: 0.7491 MB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.2425, allocations: 309 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.2442, allocations: 0.6752 MB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.2447, allocations: 228.7 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.2451, allocations: 404.2 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2451, allocations: 34.56 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.2452, allocations: 4 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.00166/0.2468, allocations: 0.6459 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2469, allocations: 55.41 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.247, allocations: 130.1 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.247, allocations: 29.7 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.247, allocations: 92.8 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.2471, allocations: 130.9 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.2472, allocations: 61.67 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.2474, allocations: 334.8 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.2479, allocations: 199.8 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.2483, allocations: 189.1 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.2493, allocations: 364.7 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2493, allocations: 0 / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001104/0.2504, allocations: 472.3 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2504, allocations: 8 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2504, allocations: 7.938 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2504, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2508, allocations: 99.84 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2508, allocations: 4 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.251, allocations: 47.8 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.2511, allocations: 19.94 kB / 1.178 GB, free: 10.94 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.0001172/0.2512, allocations: 141.8 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2512, allocations: 19.84 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2525, allocations: 0.513 MB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2525, allocations: 4 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2525, allocations: 4 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2525, allocations: 3.984 kB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.2528, allocations: 317.3 kB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2528, allocations: 3.938 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.2532, allocations: 99.86 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2532, allocations: 4 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.2532, allocations: 7.984 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2532, allocations: 4 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2533, allocations: 0 / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2544, allocations: 0.4965 MB / 1.179 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2544, allocations: 100.9 kB / 1.18 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.2545, allocations: 4 kB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2547, allocations: 43.95 kB / 1.18 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.2549, allocations: 115.8 kB / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.2549, allocations: 11.98 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.255, allocations: 99.27 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.255, allocations: 0 / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003673/0.2554, allocations: 123.7 kB / 1.18 GB, free: 8.742 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.001575/0.2569, allocations: 1.123 MB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.2581, allocations: 479.6 kB / 1.181 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2581, allocations: 0 / 1.181 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.2587, allocations: 263.7 kB / 1.182 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2591, allocations: 75.86 kB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.2631, allocations: 2.672 MB / 1.184 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2634, allocations: 0.7327 MB / 1.185 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004037/0.2638, allocations: 187.6 kB / 1.185 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2639, allocations: 63.41 kB / 1.185 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2639, allocations: 4 kB / 1.185 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2893, allocations: 7.434 MB / 1.193 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.666, allocations: 7.703 kB / 1.193 GB, free: 11.75 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