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.0009552/0.0009552, allocations: 80.8 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.001007/0.001007, 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.006/1.006, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.713e-06/1.713e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.425e-05, allocations: 5.938 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002489/0.002513, allocations: 1.457 MB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.006246, allocations: 2.989 MB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.006289, allocations: 0.5 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.404e-05/0.006383, allocations: 6.078 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.006511, allocations: 43.75 kB / 0.7644 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.007163, allocations: 200.3 kB / 0.7646 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.007438, allocations: 247.4 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.007482, allocations: 4 kB / 0.7648 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.00765, allocations: 125 kB / 0.7649 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.007811, allocations: 107.8 kB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.007843, allocations: 12 kB / 0.765 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.008256, allocations: 148.6 kB / 0.7652 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.008363, allocations: 91.83 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.008453, allocations: 75.83 kB / 0.7653 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.008909, allocations: 304.1 kB / 0.7656 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.008914, allocations: 0 / 0.7656 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.008915, allocations: 0 / 0.7656 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.00892, allocations: 2.344 kB / 0.7656 GB, free: 0.9062 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.0007424/0.009662, allocations: 446.5 kB / 0.7661 GB, free: 460 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.009699, allocations: 8.031 kB / 0.7661 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.00985, allocations: 28.86 kB / 0.7661 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.01006, allocations: 177.5 kB / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.01011, allocations: 20.36 kB / 0.7663 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.01014, allocations: 16.38 kB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.01047, allocations: 182.6 kB / 0.7665 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01049, allocations: 192 / 0.7665 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.01051, allocations: 8.125 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01052, allocations: 4.938 kB / 0.7665 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.011, allocations: 293 kB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.01127, allocations: 146.2 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.01203, allocations: 416.3 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.01216, allocations: 64.84 kB / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.01239, allocations: 79.94 kB / 0.7674 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.01242, allocations: 38.5 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 3.737e-06/0.01243, allocations: 2.5 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0004266/0.01285, allocations: 210 kB / 0.7677 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.0129, allocations: 55.41 kB / 0.7677 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.01299, allocations: 130.2 kB / 0.7679 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.01302, allocations: 29.7 kB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.01305, allocations: 92.77 kB / 0.768 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.01317, allocations: 130.8 kB / 0.7681 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.01327, allocations: 54.48 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01339, allocations: 334.8 kB / 0.7685 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.01349, allocations: 43.78 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.01358, allocations: 39.98 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.01379, allocations: 123.7 kB / 0.7687 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01379, allocations: 0.8125 kB / 0.7687 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002729/0.01406, allocations: 145.4 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.01408, allocations: 4 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.01409, allocations: 7.812 kB / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.01411, allocations: 0 / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.01442, allocations: 99.84 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01442, allocations: 0 / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.01458, allocations: 63.67 kB / 0.769 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.0146, allocations: 11.06 kB / 0.769 GB, free: 13.32 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 0.0001223/0.01472, allocations: 128.6 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.01477, allocations: 19.98 kB / 0.7691 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.01514, allocations: 218.8 kB / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.01515, allocations: 4 kB / 0.7693 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01515, allocations: 4 kB / 0.7693 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.01516, allocations: 7.922 kB / 0.7694 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.01539, allocations: 161.1 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.0154, allocations: 0 / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.01567, allocations: 91.84 kB / 0.7696 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01568, allocations: 7.938 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01569, allocations: 4 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.0157, allocations: 4 kB / 0.7696 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.0157, allocations: 3.984 kB / 0.7696 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.01602, allocations: 206 kB / 0.7698 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.01605, allocations: 19.84 kB / 0.7698 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01608, allocations: 4 kB / 0.7698 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01622, allocations: 43.95 kB / 0.7699 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.01633, allocations: 39.92 kB / 0.7699 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.01635, allocations: 11.98 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.01638, allocations: 16.84 kB / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01638, allocations: 0 / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004243/0.01681, allocations: 120.9 kB / 0.7701 GB, free: 12.18 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.0003571/0.01716, allocations: 170.4 kB / 0.7702 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.01747, allocations: 172.7 kB / 0.7704 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.01747, allocations: 5.5 kB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.01764, allocations: 108.7 kB / 0.7705 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.01797, allocations: 87.62 kB / 0.7706 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.01888, allocations: 365.2 kB / 0.7709 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.01894, allocations: 92.75 kB / 0.771 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.01917, allocations: 70.3 kB / 0.7711 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.01944, allocations: 137.2 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.272e-06/0.01944, allocations: 0.9375 kB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.01082/0.03026, allocations: 6.44 MB / 0.7775 GB, free: 4.742 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 -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.142174768727273]