Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.482/3.482, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.875 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.234e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.004255/0.004288, allocations: 1.313 MB / 0.8788 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.007872, allocations: 1.105 MB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.007904, allocations: 0 / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.007937, allocations: 9.281 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.008055, allocations: 19.78 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.008989, allocations: 153.6 kB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.009107, allocations: 39.8 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.009151, allocations: 4 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.00926, allocations: 31.91 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.009309, allocations: 14.14 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.009327, allocations: 0 / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.01001, allocations: 143.7 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.01003, allocations: 7.969 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.01008, allocations: 11.94 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.01053, allocations: 143.5 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01054, allocations: 2.375 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01054, allocations: 0 / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.01054, allocations: 0 / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006216/0.01116, allocations: 294 kB / 0.8808 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.01121, allocations: 8.031 kB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.01128, allocations: 12.89 kB / 0.8808 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.01148, allocations: 110.5 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.01149, allocations: 384 / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.01151, allocations: 5.719 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.01174, allocations: 71.89 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01175, allocations: 192 / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.01177, allocations: 8.359 kB / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.01178, allocations: 7.938 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.01194, allocations: 39.95 kB / 0.881 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.01223, allocations: 122.1 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.01245, allocations: 65.17 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.01255, allocations: 25.77 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.01407, allocations: 260 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/0.01414, allocations: 46.48 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.01414, allocations: 0 / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0004136/0.01455, allocations: 85.58 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.01464, allocations: 85.05 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01479, allocations: 101.8 kB / 0.8818 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.01482, allocations: 25.7 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.01489, allocations: 80.14 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.01495, allocations: 27.75 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.01503, allocations: 25.7 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000277/0.01531, allocations: 319 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.01537, allocations: 15.98 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.01545, allocations: 29.66 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.01561, allocations: 45.64 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01561, allocations: 0 / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/0.01588, allocations: 81.62 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.0159, allocations: 4 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01591, allocations: 3.938 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.01593, allocations: 4 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01606, allocations: 20.02 kB / 0.8824 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01607, allocations: 7.938 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.01611, allocations: 3.938 kB / 0.8824 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01613, allocations: 8.391 kB / 0.8824 GB, free: 1.312 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001307/0.01626, allocations: 105.8 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.01629, allocations: 12 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.01664, allocations: 105.6 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01665, allocations: 0 / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/0.01666, allocations: 7.938 kB / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01667, allocations: 0 / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.0169, allocations: 121.3 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0169, allocations: 0 / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.01702, allocations: 12 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.01704, allocations: 11.92 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.01705, allocations: 0 / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01705, allocations: 0 / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01705, allocations: 0 / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.01735, allocations: 117.8 kB / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.0174, allocations: 7.984 kB / 0.8829 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.01743, allocations: 7.984 kB / 0.8829 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.01747, allocations: 0 / 0.8829 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.01751, allocations: 11.94 kB / 0.8829 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01752, allocations: 4 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.01761, allocations: 83.27 kB / 0.883 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01761, allocations: 0 / 0.883 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005384/0.01815, allocations: 55.81 kB / 0.8831 GB, free: 0.5977 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0005532/0.0187, allocations: 178.9 kB / 0.8832 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.0189, allocations: 48.19 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0189, allocations: 0 / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.01899, allocations: 27.88 kB / 0.8833 GB, free: 344 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.01941, allocations: 11.92 kB / 0.8833 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.02001, allocations: 176.6 kB / 0.8835 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.02012, allocations: 71.66 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.453e-05/0.02019, allocations: 8 kB / 0.8836 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.02025, allocations: 16.48 kB / 0.8836 GB, free: 12 kB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.02025, allocations: 0 / 0.8836 GB, free: 12 kB / 0.8386 GB Notification: Performance of Templates: time 0.008741/0.02899, allocations: 1.602 MB / 0.8852 GB, free: 14.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.630465812049806]