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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006901/0.006901, allocations: 97.78 kB / 15.73 MB, free: 5.996 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.001783/0.001783, allocations: 186 kB / 16.67 MB, free: 5.926 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.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.7422 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 67.84 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2447, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002234/0.247, allocations: 1.396 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.2504, allocations: 2.917 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.2505, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.226e-05/0.2506, allocations: 7.922 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2507, allocations: 39.81 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.2513, allocations: 187.1 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2515, allocations: 239.5 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.2516, allocations: 7.984 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2517, allocations: 95.84 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2518, allocations: 123.7 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.2519, allocations: 8 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.2522, allocations: 135.9 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.2523, allocations: 87.81 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2524, allocations: 99.52 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2528, allocations: 275.1 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2528, allocations: 0 / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2528, allocations: 0 / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2528, allocations: 0 / 1.225 GB, free: 9.043 MB / 0.9825 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.0008245/0.2537, allocations: 0.5373 MB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2537, allocations: 12.03 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.2538, allocations: 46.73 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2539, allocations: 20.84 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2541, allocations: 240.1 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.2542, allocations: 24.36 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.2542, allocations: 12.38 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.2549, allocations: 294.6 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2549, allocations: 0 / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.255, allocations: 8 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.255, allocations: 4 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.2565, allocations: 0.7452 MB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.2568, allocations: 305.2 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.2586, allocations: 0.6793 MB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.2591, allocations: 228.7 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.2595, allocations: 392.3 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2595, allocations: 38.5 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.2595, allocations: 0 / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001712/0.2613, allocations: 0.6574 MB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2613, allocations: 59.41 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.2614, allocations: 126.1 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2614, allocations: 33.64 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.2615, allocations: 92.8 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2616, allocations: 126.9 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.2617, allocations: 61.69 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2618, allocations: 330.8 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/0.2623, allocations: 195.8 kB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.2628, allocations: 201 kB / 1.23 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.2638, allocations: 364.7 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2638, allocations: 4 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001137/0.265, allocations: 464.7 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.265, allocations: 4 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.265, allocations: 4 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.265, allocations: 0 / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.2654, allocations: 95.86 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2654, allocations: 3.938 kB / 1.231 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2656, allocations: 59.73 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.2656, allocations: 19.97 kB / 1.231 GB, free: 2.324 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.0001154/0.2658, allocations: 139.2 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2658, allocations: 23.83 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2671, allocations: 0.521 MB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2671, allocations: 4 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2671, allocations: 4 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2671, allocations: 0 / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.2674, allocations: 309.4 kB / 1.232 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2674, allocations: 3.938 kB / 1.232 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.2678, allocations: 103.8 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2678, allocations: 0 / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2679, allocations: 15.98 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2679, allocations: 4 kB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2679, allocations: 0 / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.269, allocations: 492.2 kB / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.2691, allocations: 112.8 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.2691, allocations: 8 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2693, allocations: 35.97 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.2695, allocations: 119.8 kB / 1.233 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.2696, allocations: 11.98 kB / 1.233 GB, free: 356 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.2696, allocations: 103.2 kB / 1.233 GB, free: 252 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2697, allocations: 3.938 kB / 1.233 GB, free: 248 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003526/0.27, allocations: 115.8 kB / 1.233 GB, free: 132 kB / 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.001622/0.2716, allocations: 1.119 MB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2728, allocations: 467.3 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2728, allocations: 0 / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.2734, allocations: 264.6 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2738, allocations: 77.8 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.2779, allocations: 2.68 MB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2782, allocations: 0.7328 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.2786, allocations: 185.2 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2788, allocations: 71.34 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2788, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.3015, allocations: 7.434 MB / 1.246 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.916, allocations: 15.17 kB / 1.246 GB, free: 3.156 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 50 --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