Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009277/0.0009277, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009398/0.0009398, allocations: 181 kB / 24.09 MB, free: 420 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.93/0.93, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.346e-05, allocations: 4.562 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002209/0.002232, allocations: 1.672 MB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003382, allocations: 0.9489 MB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.003448, allocations: 0.6562 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.003476, allocations: 7.875 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.003664, allocations: 25.16 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.004, allocations: 168.7 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.00413, allocations: 84.7 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.599e-05/0.004206, allocations: 4 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.004338, allocations: 55.83 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.004399, allocations: 33.27 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004416, allocations: 4 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.004688, allocations: 271.6 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.004705, allocations: 13.58 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.004731, allocations: 19.98 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.004946, allocations: 167.5 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004949, allocations: 0 / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00495, allocations: 1.594 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.004955, allocations: 0 / 0.791 GB, free: 8.688 MB / 0.7448 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.0003928/0.005348, allocations: 439.9 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.005385, allocations: 9.625 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.005554, allocations: 36.83 kB / 0.7914 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.005682, allocations: 143.1 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.005691, allocations: 4.375 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.005698, allocations: 384 / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005798, allocations: 62.94 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-06/0.005804, allocations: 192 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005812, allocations: 384 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.005821, allocations: 4.656 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.005848, allocations: 11.98 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.006115, allocations: 274.3 kB / 0.7919 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.006177, allocations: 39.05 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.006198, allocations: 23.78 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.006212, allocations: 0.5312 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.006231, allocations: 38.77 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.006232, allocations: 0 / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001528/0.006385, allocations: 65.52 kB / 0.7921 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.006409, allocations: 51.41 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.006494, allocations: 192.6 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006505, allocations: 29.7 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.006556, allocations: 150.8 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.006573, allocations: 21.22 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.006606, allocations: 23.36 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006718, allocations: 0.4884 MB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.006735, allocations: 4 kB / 0.793 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.006748, allocations: 5.75 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.006798, allocations: 32.03 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.0068, allocations: 0 / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.26e-05/0.006893, allocations: 69.58 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006904, allocations: 9 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.006908, allocations: 0 / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.006916, allocations: 4 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.006984, allocations: 12.86 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.006986, allocations: 3.938 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.00701, allocations: 7.469 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.007015, allocations: 0 / 0.7931 GB, free: 6.285 MB / 0.7448 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 6.253e-05/0.007078, allocations: 156.6 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.007111, allocations: 11.95 kB / 0.7933 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.007219, allocations: 77.98 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007221, allocations: 0 / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007223, allocations: 4 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007226, allocations: 0 / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.007333, allocations: 117.1 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007335, allocations: 0.625 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.007377, allocations: 17.83 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007379, allocations: 0 / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.007384, allocations: 0 / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007385, allocations: 0 / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.007386, allocations: 3.938 kB / 0.7935 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007508, allocations: 209.8 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.007517, allocations: 11.95 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.007527, allocations: 0 / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.007565, allocations: 7.984 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.007591, allocations: 4.125 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.007595, allocations: 4.594 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.00764, allocations: 149 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00764, allocations: 0.5312 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001696/0.00781, allocations: 20.72 kB / 0.7939 GB, free: 5.449 MB / 0.7448 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.0001369/0.007947, allocations: 116.1 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.00802, allocations: 35.59 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.008021, allocations: 0.8438 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.008041, allocations: 19.69 kB / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.008228, allocations: 13.33 kB / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.008707, allocations: 201.6 kB / 0.7943 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.00874, allocations: 63.34 kB / 0.7943 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.008772, allocations: 4.938 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.00883, allocations: 78.19 kB / 0.7944 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.008831, allocations: 5 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.002755/0.01159, allocations: 1.281 MB / 0.7957 GB, free: 3.621 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.75969474343583]