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.001538/0.001538, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.002307/0.002307, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.073/1.073, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.102/2.102, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.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 2.044e-06/2.044e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.499e-05, allocations: 3.219 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003669/0.003704, allocations: 1.681 MB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.005567, allocations: 0.9776 MB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.005665, allocations: 7.938 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.005707, allocations: 3.938 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.005958, allocations: 19.8 kB / 0.8808 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.006467, allocations: 160.3 kB / 0.881 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.006654, allocations: 83.59 kB / 0.8811 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.006768, allocations: 15.98 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.006959, allocations: 52.86 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.007056, allocations: 29.03 kB / 0.8812 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.007078, allocations: 4 kB / 0.8812 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.007566, allocations: 275.6 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.007602, allocations: 9.125 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.007648, allocations: 19.92 kB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.008035, allocations: 171.5 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.008039, allocations: 1 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008041, allocations: 0 / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.008047, allocations: 0 / 0.8816 GB, free: 2.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006441/0.008691, allocations: 441.2 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.008747, allocations: 12.03 kB / 0.8821 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.009052, allocations: 34.17 kB / 0.8821 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.009273, allocations: 145.1 kB / 0.8822 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.009285, allocations: 384 / 0.8822 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.009303, allocations: 9.062 kB / 0.8822 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.009479, allocations: 63.59 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.009491, allocations: 4 kB / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.009503, allocations: 0 / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.009512, allocations: 0.6562 kB / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.009567, allocations: 19.91 kB / 0.8823 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.01, allocations: 289 kB / 0.8826 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.01011, allocations: 42.48 kB / 0.8826 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.01015, allocations: 19.81 kB / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01017, allocations: 0 / 0.8827 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.01019, allocations: 33.39 kB / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.01019, allocations: 0 / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002578/0.01045, allocations: 73.56 kB / 0.8828 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.01048, allocations: 51.41 kB / 0.8828 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01061, allocations: 192.3 kB / 0.883 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.01063, allocations: 33.7 kB / 0.883 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.0107, allocations: 143.9 kB / 0.8832 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.01072, allocations: 15.84 kB / 0.8832 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.01077, allocations: 23.38 kB / 0.8832 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01092, allocations: 0.4928 MB / 0.8837 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.01095, allocations: 5.438 kB / 0.8837 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.01098, allocations: 12.36 kB / 0.8837 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.01105, allocations: 35.56 kB / 0.8837 GB, free: 472 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01105, allocations: 0 / 0.8837 GB, free: 472 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001494/0.0112, allocations: 62.89 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01122, allocations: 8 kB / 0.8838 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01123, allocations: 0 / 0.8838 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.01125, allocations: 7.984 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.01138, allocations: 8 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.01138, allocations: 4 kB / 0.8838 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.01143, allocations: 7.938 kB / 0.8838 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01144, allocations: 4 kB / 0.8838 GB, free: 364 kB / 0.8386 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 9.693e-05/0.01154, allocations: 164.5 kB / 0.884 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.01159, allocations: 11.89 kB / 0.884 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.01179, allocations: 70.14 kB / 0.8841 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01179, allocations: 0 / 0.8841 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0118, allocations: 0 / 0.8841 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.0118, allocations: 4 kB / 0.8841 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.01199, allocations: 144.5 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01199, allocations: 0 / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.01205, allocations: 11.98 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01206, allocations: 0 / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01207, allocations: 0 / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01207, allocations: 4 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01207, allocations: 0 / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.01228, allocations: 219.9 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.01229, allocations: 3.953 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01231, allocations: 11.98 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.01238, allocations: 4 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.01243, allocations: 7.984 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01244, allocations: 0 / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.01251, allocations: 141.2 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01251, allocations: 0 / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002792/0.01279, allocations: 24 kB / 0.8846 GB, free: 15.48 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 (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.0002289/0.01301, allocations: 115.2 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01314, allocations: 35.61 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01315, allocations: 4 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.01318, allocations: 23.69 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01349, allocations: 19.88 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007751/0.01427, allocations: 190.6 kB / 0.885 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.01432, allocations: 61.41 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.01436, allocations: 11.98 kB / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.0144, allocations: 20.48 kB / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.0144, allocations: 0 / 0.8851 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.004008/0.01841, allocations: 1.16 MB / 0.8862 GB, free: 13.8 MB / 0.8542 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: 5.805887139867991]