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.001147/0.001147, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001203/0.001203, allocations: 161 kB / 23.82 MB, free: 0.75 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.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.817/1.817, allocations: 359 MB / 0.6052 GB, free: 11 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 2.314e-06/2.314e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.506e-05, allocations: 5.094 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00368/0.003715, allocations: 1.673 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.005549, allocations: 0.9649 MB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.005655, allocations: 4.906 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.005704, allocations: 3.938 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.005984, allocations: 24.53 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.006514, allocations: 165.9 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.006698, allocations: 75.66 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.00681, allocations: 19.91 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.007008, allocations: 49.59 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.007108, allocations: 31.89 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.007129, allocations: 4 kB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.007549, allocations: 271.6 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.007576, allocations: 12.53 kB / 0.7903 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.007615, allocations: 20.47 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.00795, allocations: 167.5 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.007954, allocations: 4.594 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.007956, allocations: 0.7812 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.007963, allocations: 0 / 0.7905 GB, free: 8.965 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.0006458/0.008608, allocations: 437.1 kB / 0.7909 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.008674, allocations: 8.031 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.008991, allocations: 42.12 kB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.009202, allocations: 142.3 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.009215, allocations: 4.375 kB / 0.7911 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.009234, allocations: 4.375 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.009411, allocations: 66.92 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.009423, allocations: 1.594 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.009436, allocations: 384 / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.009446, allocations: 3.938 kB / 0.7912 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.009507, allocations: 8 kB / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.009986, allocations: 298.1 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.0101, allocations: 47.03 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.01014, allocations: 11.69 kB / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01016, allocations: 0 / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.01019, allocations: 39.92 kB / 0.7916 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.01019, allocations: 4 kB / 0.7916 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002643/0.01046, allocations: 69.69 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.0105, allocations: 51.41 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01064, allocations: 194.9 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.01065, allocations: 25.7 kB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.01073, allocations: 146.9 kB / 0.7921 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.01076, allocations: 20.33 kB / 0.7921 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.01081, allocations: 24.08 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.01097, allocations: 0.4884 MB / 0.7926 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.01101, allocations: 12.52 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.01104, allocations: 4 kB / 0.7926 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.01111, allocations: 25.34 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01111, allocations: 3.938 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001636/0.01128, allocations: 73.56 kB / 0.7927 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.0113, allocations: 4 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.0113, allocations: 0.9062 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.01132, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01144, allocations: 12.78 kB / 0.7927 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01145, allocations: 4.375 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.01149, allocations: 9.203 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.0115, allocations: 0 / 0.7927 GB, free: 6.523 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 8.995e-05/0.01159, allocations: 156.6 kB / 0.7929 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.01164, allocations: 16.73 kB / 0.7929 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.01183, allocations: 74.08 kB / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01183, allocations: 5.344 kB / 0.793 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01183, allocations: 0 / 0.793 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.01184, allocations: 3.984 kB / 0.793 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.012, allocations: 133.8 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01201, allocations: 0 / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.01209, allocations: 11.98 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01209, allocations: 1.875 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.0121, allocations: 7.938 kB / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0121, allocations: 0 / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01211, allocations: 0 / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.01231, allocations: 211.8 kB / 0.7933 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01233, allocations: 19.88 kB / 0.7933 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01235, allocations: 6.406 kB / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.01243, allocations: 0 / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.01247, allocations: 7.984 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01248, allocations: 0 / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.01256, allocations: 149.1 kB / 0.7935 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 0.7935 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003045/0.01287, allocations: 16.5 kB / 0.7935 GB, free: 5.656 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.0002171/0.01308, allocations: 116.5 kB / 0.7936 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.01324, allocations: 35.61 kB / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01324, allocations: 0 / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.01329, allocations: 29.55 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.01361, allocations: 20.25 kB / 0.7937 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.01446, allocations: 200.9 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.01451, allocations: 64.47 kB / 0.794 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.74e-05/0.01456, allocations: 5.406 kB / 0.794 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.0146, allocations: 19.64 kB / 0.794 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/0.01461, allocations: 3.938 kB / 0.794 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.004128/0.01873, allocations: 1.148 MB / 0.7951 GB, free: 4 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: 5.3867112207226455]