Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001044/0.001044, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009638/0.0009638, allocations: 169.4 kB / 24.06 MB, free: 456 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.908/0.908, allocations: 177.1 MB / 204.5 MB, free: 5.516 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 1.988/1.988, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 178] 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8794 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.524e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00269/0.002705, allocations: 1.669 MB / 0.8811 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004134, allocations: 0.9619 MB / 0.882 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.004203, allocations: 0 / 0.882 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.004239, allocations: 10.59 kB / 0.882 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.004434, allocations: 23.78 kB / 0.882 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.004815, allocations: 165 kB / 0.8822 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.004962, allocations: 79.66 kB / 0.8823 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.005043, allocations: 15.91 kB / 0.8823 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.005174, allocations: 47.91 kB / 0.8823 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.005255, allocations: 33.42 kB / 0.8824 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.005271, allocations: 4 kB / 0.8824 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.005761, allocations: 275.5 kB / 0.8826 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.00578, allocations: 10.97 kB / 0.8826 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.00581, allocations: 23.97 kB / 0.8827 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.006061, allocations: 167.5 kB / 0.8828 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006063, allocations: 0 / 0.8828 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006064, allocations: 0 / 0.8828 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.006067, allocations: 0 / 0.8828 GB, free: 1.406 MB / 0.7917 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.0004473/0.006515, allocations: 443.9 kB / 0.8832 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.006546, allocations: 8.719 kB / 0.8833 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.00676, allocations: 34.53 kB / 0.8833 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.006917, allocations: 140.4 kB / 0.8834 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.006929, allocations: 9.656 kB / 0.8834 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.006937, allocations: 384 / 0.8834 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.007051, allocations: 66.5 kB / 0.8835 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.007058, allocations: 0 / 0.8835 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.007066, allocations: 4 kB / 0.8835 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.007071, allocations: 0 / 0.8835 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.007109, allocations: 11.98 kB / 0.8835 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.007424, allocations: 264.5 kB / 0.8838 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.007502, allocations: 46.92 kB / 0.8838 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.007527, allocations: 19.8 kB / 0.8838 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.00754, allocations: 0 / 0.8838 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.007561, allocations: 33.39 kB / 0.8839 GB, free: 232 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.007561, allocations: 8 kB / 0.8839 GB, free: 224 kB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.0001851/0.007747, allocations: 65.56 kB / 0.8839 GB, free: 152 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.007779, allocations: 51.41 kB / 0.884 GB, free: 88 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.007899, allocations: 191.9 kB / 0.8842 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.007912, allocations: 29.7 kB / 0.8842 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.007971, allocations: 142.8 kB / 0.8843 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.007989, allocations: 15.83 kB / 0.8843 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.008033, allocations: 31.36 kB / 0.8844 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.008164, allocations: 0.4884 MB / 0.8848 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.008184, allocations: 4 kB / 0.8849 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.008204, allocations: 4 kB / 0.8849 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.008251, allocations: 31.67 kB / 0.8849 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008252, allocations: 0 / 0.8849 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.13e-05/0.008334, allocations: 65.95 kB / 0.8849 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.008343, allocations: 4 kB / 0.885 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008347, allocations: 0 / 0.885 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.008355, allocations: 7.938 kB / 0.885 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.008418, allocations: 19.98 kB / 0.885 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.00842, allocations: 0 / 0.885 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.008444, allocations: 4 kB / 0.885 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.008448, allocations: 0 / 0.885 GB, free: 15 MB / 0.8073 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.568e-05/0.008504, allocations: 160.6 kB / 0.8851 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.008533, allocations: 19.84 kB / 0.8852 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.008624, allocations: 74.06 kB / 0.8852 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008626, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.008627, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00863, allocations: 4 kB / 0.8852 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.008728, allocations: 109.2 kB / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.008729, allocations: 0 / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.008763, allocations: 12 kB / 0.8853 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008766, allocations: 7.922 kB / 0.8854 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.008771, allocations: 4 kB / 0.8854 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008772, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008773, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008881, allocations: 207.8 kB / 0.8856 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.00889, allocations: 15.89 kB / 0.8856 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.008901, allocations: 3.938 kB / 0.8856 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.008939, allocations: 3.984 kB / 0.8856 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.008963, allocations: 4 kB / 0.8856 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.008966, allocations: 0 / 0.8856 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.00901, allocations: 149.4 kB / 0.8857 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00901, allocations: 4 kB / 0.8857 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001634/0.009174, allocations: 20 kB / 0.8857 GB, free: 14.15 MB / 0.8073 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 9.96e-05/0.009273, allocations: 111.2 kB / 0.8859 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.009341, allocations: 31.8 kB / 0.8859 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.009342, allocations: 0 / 0.8859 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.009366, allocations: 23.75 kB / 0.8859 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.009776, allocations: 21.98 kB / 0.8859 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.01019, allocations: 202.4 kB / 0.8861 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.01022, allocations: 59.34 kB / 0.8862 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.01025, allocations: 7.938 kB / 0.8862 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.0103, allocations: 90.19 kB / 0.8863 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.01031, allocations: 0 / 0.8863 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.002499/0.0128, allocations: 1.282 MB / 0.8875 GB, free: 12.29 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.876781626138836]