Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001369/0.001369, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001546/0.001546, allocations: 161 kB / 24.17 MB, free: 332 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 1.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0.875 kB / 0.76 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.548e-05, allocations: 3.938 kB / 0.76 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001763/0.001778, allocations: 1.494 MB / 0.7615 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.004426, allocations: 2.993 MB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.004464, allocations: 7.938 kB / 0.7644 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.201e-05/0.004536, allocations: 7.922 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.004627, allocations: 27.88 kB / 0.7645 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.005077, allocations: 197.6 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005265, allocations: 247.5 kB / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.0053, allocations: 4 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.005394, allocations: 119.8 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005502, allocations: 121 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.005522, allocations: 8 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.005803, allocations: 151.8 kB / 0.7653 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.005881, allocations: 100.4 kB / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.005939, allocations: 63.89 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.006197, allocations: 307.6 kB / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.006199, allocations: 0 / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.22e-07/0.0062, allocations: 3 kB / 0.7657 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.006203, allocations: 0 / 0.7657 GB, free: 0.7344 MB / 0.7136 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.0004625/0.006665, allocations: 443.8 kB / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.006692, allocations: 11.16 kB / 0.7662 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.461e-05/0.006787, allocations: 36.78 kB / 0.7662 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.00693, allocations: 169.5 kB / 0.7664 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.006963, allocations: 24.36 kB / 0.7664 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.00698, allocations: 16.38 kB / 0.7664 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.007203, allocations: 181.4 kB / 0.7666 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007211, allocations: 192 / 0.7666 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.007224, allocations: 9.938 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.007231, allocations: 4 kB / 0.7666 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.007563, allocations: 285 kB / 0.7669 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.007735, allocations: 146.2 kB / 0.767 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.008234, allocations: 417.6 kB / 0.7674 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.00831, allocations: 64.84 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.008467, allocations: 82.66 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.008489, allocations: 38.5 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.132e-06/0.00849, allocations: 0 / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002776/0.008767, allocations: 210 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.008791, allocations: 55.41 kB / 0.7678 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.841e-05/0.00885, allocations: 129.4 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.008866, allocations: 35.27 kB / 0.768 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.008889, allocations: 88.77 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.008965, allocations: 130.8 kB / 0.7682 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.009036, allocations: 57.67 kB / 0.7682 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.00917, allocations: 330.8 kB / 0.7686 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.009232, allocations: 43.84 kB / 0.7686 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.00929, allocations: 39.92 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.009418, allocations: 123.8 kB / 0.7688 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00942, allocations: 0.5312 kB / 0.7688 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001687/0.009589, allocations: 146.2 kB / 0.7689 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.0096, allocations: 8 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.009604, allocations: 0 / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.009615, allocations: 0.875 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.009821, allocations: 112.6 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009824, allocations: 1.312 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.009917, allocations: 60.84 kB / 0.7691 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.009937, allocations: 7.984 kB / 0.7691 GB, free: 13.14 MB / 0.7292 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 7.017e-05/0.01001, allocations: 133.3 kB / 0.7692 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01003, allocations: 19.98 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.01026, allocations: 223.3 kB / 0.7694 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.01027, allocations: 5.094 kB / 0.7694 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01027, allocations: 0 / 0.7694 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.01027, allocations: 7.922 kB / 0.7694 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01042, allocations: 158.6 kB / 0.7696 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01042, allocations: 0 / 0.7696 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.0106, allocations: 100.8 kB / 0.7697 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.0106, allocations: 5.031 kB / 0.7697 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.01062, allocations: 7.984 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01062, allocations: 4 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01062, allocations: 0.9062 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01081, allocations: 202.4 kB / 0.7699 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.01083, allocations: 26.92 kB / 0.7699 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01084, allocations: 4 kB / 0.7699 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.01094, allocations: 35.97 kB / 0.77 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.01101, allocations: 43.92 kB / 0.77 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01102, allocations: 3.984 kB / 0.77 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.01104, allocations: 28.83 kB / 0.77 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01104, allocations: 7.594 kB / 0.7701 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002089/0.01125, allocations: 115.8 kB / 0.7702 GB, free: 11.98 MB / 0.7292 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.0002038/0.01145, allocations: 168.6 kB / 0.7703 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.01165, allocations: 168.7 kB / 0.7705 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01165, allocations: 7.938 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01176, allocations: 109.7 kB / 0.7706 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01197, allocations: 88.84 kB / 0.7707 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.01255, allocations: 370.2 kB / 0.771 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.0126, allocations: 85.52 kB / 0.7711 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.01276, allocations: 75.25 kB / 0.7712 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.01294, allocations: 130.3 kB / 0.7713 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.01295, allocations: 0 / 0.7713 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.007114/0.02006, allocations: 6.442 MB / 0.7776 GB, free: 4.535 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.277750669047236]