Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001419/0.001419, 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.001045/0.001045, 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 0.955/0.955, 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.826/1.826, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.417e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001855/0.00187, allocations: 1.684 MB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003147, allocations: 0.9676 MB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.003206, allocations: 0 / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.003232, allocations: 3.938 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.003414, allocations: 28.75 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.003707, allocations: 166.3 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.00383, allocations: 79.66 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.003905, allocations: 17 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004018, allocations: 43.91 kB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.004088, allocations: 32.39 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004103, allocations: 5.188 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.004372, allocations: 275.6 kB / 0.7633 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.004389, allocations: 11.92 kB / 0.7633 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.004412, allocations: 19.98 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.00461, allocations: 171.9 kB / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004612, allocations: 0.75 kB / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004612, allocations: 0 / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.004615, allocations: 0.5 kB / 0.7635 GB, free: 3.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003203/0.004935, allocations: 313.2 kB / 0.7638 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.004965, allocations: 13.06 kB / 0.7638 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.005111, allocations: 24.91 kB / 0.7638 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.005231, allocations: 136.1 kB / 0.7639 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.005241, allocations: 12.36 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.00525, allocations: 384 / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.005341, allocations: 78.84 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.005347, allocations: 192 / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.005354, allocations: 1.594 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005359, allocations: 3.938 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.005384, allocations: 8 kB / 0.764 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.005601, allocations: 177.7 kB / 0.7642 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.005659, allocations: 35.25 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.005677, allocations: 12.98 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.005687, allocations: 1.75 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.005705, allocations: 30.56 kB / 0.7643 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.005706, allocations: 0 / 0.7643 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001225/0.005828, allocations: 53.62 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.005855, allocations: 55.39 kB / 0.7644 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.005922, allocations: 137.9 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.005931, allocations: 25.7 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.005962, allocations: 97.16 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.005979, allocations: 27.83 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.006004, allocations: 13.72 kB / 0.7647 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.006074, allocations: 324.6 kB / 0.765 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.006086, allocations: 4 kB / 0.765 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.006098, allocations: 4 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.00613, allocations: 29.16 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006132, allocations: 0 / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.265e-05/0.006195, allocations: 56.42 kB / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.006205, allocations: 4 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006209, allocations: 3.938 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.006218, allocations: 0 / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.006277, allocations: 19.92 kB / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.00628, allocations: 0 / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.006302, allocations: 4 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006307, allocations: 1.906 kB / 0.7651 GB, free: 1.316 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 5.329e-05/0.00636, allocations: 109.8 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.006382, allocations: 7.984 kB / 0.7652 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.372e-05/0.006466, allocations: 66.08 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006468, allocations: 0.9375 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006469, allocations: 0 / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006472, allocations: 0 / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.006563, allocations: 90.52 kB / 0.7654 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006564, allocations: 3.938 kB / 0.7654 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.006596, allocations: 12.58 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006597, allocations: 2.25 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.006601, allocations: 0 / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006602, allocations: 0 / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.006605, allocations: 7.938 kB / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.006686, allocations: 147.5 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.006695, allocations: 7.953 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.006704, allocations: 0.875 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.006738, allocations: 4.188 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.006763, allocations: 12.42 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.006768, allocations: 8 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.006787, allocations: 31.8 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006787, allocations: 0 / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001343/0.006922, allocations: 20 kB / 0.7656 GB, free: 0.75 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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.0001024/0.007024, allocations: 98.59 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.757e-05/0.007082, allocations: 24.84 kB / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007084, allocations: 0 / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-05/0.007105, allocations: 27.16 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.007233, allocations: 14.75 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.00766, allocations: 198.2 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.007698, allocations: 63.34 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.233e-05/0.00773, allocations: 14.19 kB / 0.766 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.007782, allocations: 55.38 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.007782, allocations: 0 / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of Templates: time 0.002478/0.01026, allocations: 1.23 MB / 0.7673 GB, free: 15.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.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: 4.711373887956142]