Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001473/0.001473, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001778/0.001778, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.9622/0.9622, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.161/2.161, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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.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_latest_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_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.75e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001963/0.00199, allocations: 1.427 MB / 0.8796 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003157, allocations: 1.061 MB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.003203, allocations: 0 / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.734e-05/0.003291, allocations: 12.83 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003392, allocations: 31.88 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.003786, allocations: 119 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.003986, allocations: 251.4 kB / 0.881 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.004027, allocations: 7.984 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.00412, allocations: 111.8 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004224, allocations: 119.8 kB / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.004251, allocations: 12 kB / 0.8812 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.00452, allocations: 119.7 kB / 0.8813 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.004601, allocations: 87.84 kB / 0.8814 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.004678, allocations: 76.47 kB / 0.8815 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.004937, allocations: 259.3 kB / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.004941, allocations: 0 / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004942, allocations: 0 / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004947, allocations: 0 / 0.8817 GB, free: 3.008 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005843/0.005531, allocations: 0.5543 MB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.005567, allocations: 8.031 kB / 0.8823 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.005699, allocations: 32.84 kB / 0.8823 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.005877, allocations: 180.3 kB / 0.8825 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.005919, allocations: 24.36 kB / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.00594, allocations: 16.38 kB / 0.8825 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.006225, allocations: 199.1 kB / 0.8827 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.006231, allocations: 192 / 0.8827 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.006248, allocations: 4.375 kB / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.006257, allocations: 7.938 kB / 0.8827 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.006864, allocations: 448.5 kB / 0.8832 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.007073, allocations: 196.4 kB / 0.8834 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.007749, allocations: 0.4898 MB / 0.8838 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.007883, allocations: 112.2 kB / 0.8839 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.008077, allocations: 75.91 kB / 0.884 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.0081, allocations: 45.14 kB / 0.8841 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.008102, allocations: 0 / 0.8841 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005125/0.008614, allocations: 333.2 kB / 0.8844 GB, free: 184 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.008647, allocations: 59.34 kB / 0.8844 GB, free: 112 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.008743, allocations: 177.9 kB / 0.8846 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.008759, allocations: 29.7 kB / 0.8846 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.008803, allocations: 143.5 kB / 0.8848 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.008883, allocations: 130.9 kB / 0.8849 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.008952, allocations: 75.09 kB / 0.885 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.009065, allocations: 0.5079 MB / 0.8855 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.009177, allocations: 71.88 kB / 0.8855 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.009286, allocations: 77.14 kB / 0.8856 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.009491, allocations: 143.8 kB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009493, allocations: 0 / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003262/0.009819, allocations: 245 kB / 0.886 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.009836, allocations: 4 kB / 0.886 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009841, allocations: 0 / 0.886 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.009857, allocations: 4 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.01008, allocations: 103.8 kB / 0.8861 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.01009, allocations: 3.938 kB / 0.8861 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.01019, allocations: 51.86 kB / 0.8861 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.01021, allocations: 11.98 kB / 0.8861 GB, free: 14.3 MB / 0.8542 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 8.445e-05/0.01029, allocations: 172.5 kB / 0.8863 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.01033, allocations: 27.91 kB / 0.8863 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.01074, allocations: 314.8 kB / 0.8866 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01075, allocations: 8 kB / 0.8866 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01075, allocations: 3.938 kB / 0.8866 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01076, allocations: 3.984 kB / 0.8866 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.01093, allocations: 200.4 kB / 0.8868 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01093, allocations: 3.984 kB / 0.8868 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.01111, allocations: 99.86 kB / 0.8869 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01112, allocations: 0 / 0.8869 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01113, allocations: 11.98 kB / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01114, allocations: 4 kB / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01114, allocations: 4 kB / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01148, allocations: 308.3 kB / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.0115, allocations: 19.8 kB / 0.8873 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01152, allocations: 8 kB / 0.8873 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.01162, allocations: 39.95 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.01179, allocations: 139.4 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.01181, allocations: 19.92 kB / 0.8875 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.01186, allocations: 135.2 kB / 0.8876 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01186, allocations: 4 kB / 0.8876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002486/0.0121, allocations: 95.88 kB / 0.8877 GB, free: 12.63 MB / 0.8542 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.0002415/0.01235, allocations: 163 kB / 0.8878 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.01267, allocations: 223.2 kB / 0.8881 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01267, allocations: 0 / 0.8881 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.01282, allocations: 152.4 kB / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01311, allocations: 99.84 kB / 0.8883 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.01394, allocations: 359.7 kB / 0.8886 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.34e-05/0.01399, allocations: 92.75 kB / 0.8887 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.01424, allocations: 157.7 kB / 0.8889 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.01432, allocations: 36.48 kB / 0.8889 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.01432, allocations: 0 / 0.8889 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.006564/0.02088, allocations: 5.102 MB / 0.8939 GB, free: 6.328 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.52669216087088]