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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001153/0.001153, allocations: 192.4 kB / 16.13 MB, free: 6.645 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.3 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3747, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.0034/0.3782, allocations: 1.442 MB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.382, allocations: 2.925 MB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.3821, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3823, allocations: 7.938 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3824, allocations: 43.8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.3829, allocations: 159.4 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.3833, allocations: 339.3 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3834, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.3835, allocations: 83.86 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3836, allocations: 139.7 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.3837, allocations: 12 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.3841, allocations: 151.7 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3842, allocations: 83.83 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3843, allocations: 95.56 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.3847, allocations: 263.6 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3847, allocations: 3.984 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3847, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3847, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 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.0008342/0.3856, allocations: 0.5301 MB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3856, allocations: 8.031 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3858, allocations: 20.75 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.386, allocations: 243.1 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.3861, allocations: 24.36 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3861, allocations: 12.38 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.3868, allocations: 301.2 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3868, allocations: 3.938 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3868, allocations: 8 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3868, allocations: 4 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.3883, allocations: 0.7452 MB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3888, allocations: 309 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3904, allocations: 0.6798 MB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.3909, allocations: 230.2 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/0.3913, allocations: 392.3 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3914, allocations: 46.44 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.615e-06/0.3914, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001636/0.393, allocations: 0.6534 MB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3931, allocations: 55.41 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3932, allocations: 130 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3932, allocations: 29.7 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3933, allocations: 96.78 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3934, allocations: 122.1 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.3935, allocations: 65.67 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3936, allocations: 326.8 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.3941, allocations: 199.8 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.3946, allocations: 203.5 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008256/0.3954, allocations: 362.1 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3954, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001001/0.3964, allocations: 464.6 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3964, allocations: 4 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3964, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3965, allocations: 4 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.3968, allocations: 99.84 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3969, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3971, allocations: 55.7 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3971, allocations: 8 kB / 1.064 GB, free: 12.46 MB / 0.8262 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.0001378/0.3972, allocations: 147.1 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3973, allocations: 19.75 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3985, allocations: 0.5103 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3985, allocations: 4 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3985, allocations: 0 / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3985, allocations: 7.984 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.3989, allocations: 313.3 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3989, allocations: 4 kB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.3992, allocations: 103.8 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3992, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3993, allocations: 15.92 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3993, allocations: 4 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3993, allocations: 0 / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4004, allocations: 496 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.4004, allocations: 104.8 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4005, allocations: 4 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.4007, allocations: 35.95 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.4009, allocations: 119.8 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.401, allocations: 15.92 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.506e-05/0.4011, allocations: 102.4 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4011, allocations: 0 / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000453/0.4015, allocations: 115.9 kB / 1.066 GB, free: 10.27 MB / 0.8262 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.0004571/0.402, allocations: 191.1 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.4031, allocations: 479.6 kB / 1.067 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4031, allocations: 0 / 1.067 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.4037, allocations: 259.5 kB / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.4042, allocations: 67.89 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.4051, allocations: 492.1 kB / 1.067 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4055, allocations: 0.733 MB / 1.068 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.4059, allocations: 183.3 kB / 1.068 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4061, allocations: 43.41 kB / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4061, allocations: 0 / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.009232/0.4153, allocations: 4.876 MB / 1.073 GB, free: 2.992 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches