Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.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.001074/0.001074, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 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.001035/0.001035, allocations: 169 kB / 24.28 MB, free: 272 kB / 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 0.9852/0.9852, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.781/1.781, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.099e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003177/0.003208, allocations: 1.437 MB / 0.7885 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00457/0.007778, allocations: 2.989 MB / 0.7914 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.007846, allocations: 4.625 kB / 0.7914 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.00795, allocations: 7.922 kB / 0.7914 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.008094, allocations: 37.47 kB / 0.7914 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.008879, allocations: 192.7 kB / 0.7916 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.009197, allocations: 247.4 kB / 0.7919 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.009242, allocations: 7.984 kB / 0.7919 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.009407, allocations: 115.8 kB / 0.792 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.009586, allocations: 120.4 kB / 0.7921 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.009628, allocations: 12.94 kB / 0.7921 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.0101, allocations: 143.8 kB / 0.7922 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.01024, allocations: 99.78 kB / 0.7923 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.01035, allocations: 69.48 kB / 0.7924 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.01083, allocations: 311 kB / 0.7927 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01084, allocations: 0 / 0.7927 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01084, allocations: 0 / 0.7927 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01084, allocations: 2.125 kB / 0.7927 GB, free: 7.031 MB / 0.7448 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.0009767/0.01182, allocations: 0.5664 MB / 0.7933 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.01188, allocations: 8.75 kB / 0.7933 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.0121, allocations: 32.84 kB / 0.7933 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.0124, allocations: 190.3 kB / 0.7935 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.01246, allocations: 25.92 kB / 0.7935 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.0125, allocations: 12.38 kB / 0.7935 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.01294, allocations: 202.5 kB / 0.7937 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.01295, allocations: 0.7188 kB / 0.7937 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.01298, allocations: 8.125 kB / 0.7937 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01299, allocations: 5.312 kB / 0.7937 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.01381, allocations: 447.3 kB / 0.7941 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.01415, allocations: 196.4 kB / 0.7943 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.01551, allocations: 0.4928 MB / 0.7948 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.01573, allocations: 100.2 kB / 0.7949 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.01602, allocations: 76.8 kB / 0.795 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01605, allocations: 46.64 kB / 0.795 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/0.01605, allocations: 0 / 0.795 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.000818/0.01687, allocations: 340.4 kB / 0.7953 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.01692, allocations: 59.34 kB / 0.7954 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.01705, allocations: 182.4 kB / 0.7956 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.01708, allocations: 30.42 kB / 0.7956 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.01714, allocations: 143.5 kB / 0.7957 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.01728, allocations: 132.6 kB / 0.7959 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.01739, allocations: 75.33 kB / 0.7959 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.01755, allocations: 0.4962 MB / 0.7964 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.01774, allocations: 71.94 kB / 0.7965 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.01792, allocations: 76.83 kB / 0.7966 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01825, allocations: 140 kB / 0.7967 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01825, allocations: 0 / 0.7967 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005464/0.0188, allocations: 248.5 kB / 0.7969 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01882, allocations: 8 kB / 0.7969 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01883, allocations: 0 / 0.7969 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01884, allocations: 0 / 0.7969 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.01921, allocations: 107.8 kB / 0.7971 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.01922, allocations: 0 / 0.7971 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.0194, allocations: 54.23 kB / 0.7971 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.01943, allocations: 11.98 kB / 0.7971 GB, free: 2.32 MB / 0.7448 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.0001282/0.01956, allocations: 172.5 kB / 0.7973 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.01963, allocations: 31.86 kB / 0.7973 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.02028, allocations: 307.3 kB / 0.7976 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.02029, allocations: 7.984 kB / 0.7976 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.0203, allocations: 4.594 kB / 0.7976 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.0203, allocations: 0 / 0.7976 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.02057, allocations: 203.3 kB / 0.7978 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02057, allocations: 4 kB / 0.7978 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.0209, allocations: 99.86 kB / 0.7979 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.02091, allocations: 0 / 0.7979 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.02093, allocations: 11.98 kB / 0.7979 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.02094, allocations: 2.594 kB / 0.7979 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02094, allocations: 0 / 0.7979 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.02155, allocations: 316 kB / 0.7982 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.02158, allocations: 23.84 kB / 0.7982 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.02162, allocations: 4 kB / 0.7982 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.02179, allocations: 44.89 kB / 0.7983 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.02209, allocations: 135.7 kB / 0.7984 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.02212, allocations: 17.11 kB / 0.7984 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.02219, allocations: 143.1 kB / 0.7986 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02219, allocations: 0 / 0.7986 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005234/0.02272, allocations: 120.8 kB / 0.7987 GB, free: 0.6445 MB / 0.7448 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.0004089/0.02313, allocations: 196.5 kB / 0.7989 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.02364, allocations: 231.5 kB / 0.7991 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02364, allocations: 0 / 0.7991 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.0239, allocations: 147.9 kB / 0.7992 GB, free: 72 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.0244, allocations: 97.8 kB / 0.7993 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.02559, allocations: 370.9 kB / 0.7997 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.568e-05/0.02566, allocations: 84.83 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.0261, allocations: 161.8 kB / 0.7999 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.02623, allocations: 40.47 kB / 0.8 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of SimCode: time 1.092e-06/0.02623, allocations: 0 / 0.8 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.01059/0.03682, allocations: 5.496 MB / 0.8053 GB, free: 9.918 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.283240670803934]