Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001361/0.001361, 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.001529/0.001529, 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.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.393e-05, allocations: 5.375 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001802/0.001816, allocations: 1.491 MB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.004523, allocations: 2.998 MB / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.004562, allocations: 0.5312 kB / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.369e-05/0.004636, allocations: 7.922 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.004735, allocations: 40.69 kB / 0.7645 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.005209, allocations: 188.9 kB / 0.7647 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.005408, allocations: 247.5 kB / 0.7649 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.00545, allocations: 9.953 kB / 0.7649 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005555, allocations: 119.8 kB / 0.765 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005664, allocations: 115.8 kB / 0.7651 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.005687, allocations: 12 kB / 0.7651 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.006019, allocations: 151.7 kB / 0.7653 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.006092, allocations: 98.58 kB / 0.7654 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.006157, allocations: 75.83 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.006445, allocations: 303.1 kB / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.006446, allocations: 0 / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.006447, allocations: 0 / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.00645, allocations: 0 / 0.7657 GB, free: 0.8281 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.0007176/0.007168, allocations: 441.5 kB / 0.7662 GB, free: 384 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.007197, allocations: 12.97 kB / 0.7662 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.933e-05/0.007296, allocations: 28.86 kB / 0.7662 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.007447, allocations: 169.5 kB / 0.7664 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.007481, allocations: 25.23 kB / 0.7664 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.007499, allocations: 12.38 kB / 0.7664 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.007719, allocations: 181.3 kB / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.007727, allocations: 192 / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.00774, allocations: 12.12 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007748, allocations: 4 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.008051, allocations: 289 kB / 0.7669 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.008234, allocations: 146.5 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.008738, allocations: 413.9 kB / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.008817, allocations: 64.84 kB / 0.7675 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.008988, allocations: 81.12 kB / 0.7675 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.009011, allocations: 42.5 kB / 0.7676 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.009013, allocations: 3.438 kB / 0.7676 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002904/0.009303, allocations: 213.6 kB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.009326, allocations: 55.41 kB / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.009389, allocations: 130.5 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.009406, allocations: 29.7 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.009429, allocations: 92.77 kB / 0.7681 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.009498, allocations: 126.8 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.009557, allocations: 57.67 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.009629, allocations: 330.8 kB / 0.7686 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.00969, allocations: 42.25 kB / 0.7686 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.009749, allocations: 43.73 kB / 0.7686 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.00988, allocations: 123.8 kB / 0.7688 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009882, allocations: 0 / 0.7688 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001767/0.01006, allocations: 149.3 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01007, allocations: 4 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01008, allocations: 0 / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01009, allocations: 0 / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.0103, allocations: 114.8 kB / 0.769 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.0103, allocations: 4 kB / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.0104, allocations: 55.69 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01042, allocations: 11.98 kB / 0.7691 GB, free: 13.24 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.455e-05/0.01049, allocations: 128.6 kB / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.01052, allocations: 23.97 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.01075, allocations: 214.8 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01076, allocations: 4 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01076, allocations: 0 / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01077, allocations: 7.922 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.01091, allocations: 157.7 kB / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01092, allocations: 0 / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.01111, allocations: 104.7 kB / 0.7697 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01111, allocations: 0 / 0.7697 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01112, allocations: 10.02 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01112, allocations: 4 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01113, allocations: 3.938 kB / 0.7697 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01132, allocations: 202.4 kB / 0.7699 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01133, allocations: 27.77 kB / 0.7699 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.01135, allocations: 4 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.01144, allocations: 37.28 kB / 0.77 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.01151, allocations: 47.42 kB / 0.77 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01152, allocations: 11.98 kB / 0.77 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.01154, allocations: 20.83 kB / 0.7701 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01154, allocations: 0 / 0.7701 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002225/0.01177, allocations: 119.7 kB / 0.7702 GB, free: 12.08 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.000221/0.01199, allocations: 173.4 kB / 0.7703 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.0122, allocations: 168.8 kB / 0.7705 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.0122, allocations: 1 kB / 0.7705 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.0123, allocations: 108.7 kB / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01251, allocations: 91.84 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.01313, allocations: 366.9 kB / 0.771 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.012e-05/0.01318, allocations: 89.44 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.01333, allocations: 67.42 kB / 0.7712 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.01352, allocations: 138 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.01352, allocations: 0 / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.007215/0.02073, allocations: 6.444 MB / 0.7776 GB, free: 4.641 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.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.044927330221981]