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.001469/0.001469, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001791/0.001791, allocations: 169 kB / 24.28 MB, free: 276 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.9928/0.9928, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.854/1.854, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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 3.807e-06/3.807e-06, allocations: 4 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.231e-05, allocations: 6 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003682/0.003714, allocations: 1.658 MB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005732, allocations: 0.9603 MB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.005829, allocations: 0.9062 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.005871, allocations: 11.86 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.006107, allocations: 16.38 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.006669, allocations: 173.3 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.006868, allocations: 76.62 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.006985, allocations: 11.98 kB / 0.79 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.007179, allocations: 47.89 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.007277, allocations: 36.81 kB / 0.7901 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.007299, allocations: 4 kB / 0.7901 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.00773, allocations: 276.3 kB / 0.7903 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.007755, allocations: 10.53 kB / 0.7903 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.007791, allocations: 19.92 kB / 0.7904 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.008122, allocations: 175.5 kB / 0.7905 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.008127, allocations: 0 / 0.7905 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/0.008128, allocations: 0 / 0.7905 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.008135, allocations: 0 / 0.7905 GB, free: 9.297 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.0005871/0.008722, allocations: 433.7 kB / 0.7909 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.008769, allocations: 8.031 kB / 0.7909 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.009086, allocations: 36.81 kB / 0.791 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.009307, allocations: 140.5 kB / 0.7911 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.009324, allocations: 8.375 kB / 0.7911 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.009338, allocations: 384 / 0.7911 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.00953, allocations: 70.91 kB / 0.7912 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.009538, allocations: 0.7812 kB / 0.7912 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.009549, allocations: 384 / 0.7912 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.00956, allocations: 4.531 kB / 0.7912 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.575e-05/0.009616, allocations: 11.98 kB / 0.7912 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.01011, allocations: 297.6 kB / 0.7915 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.01023, allocations: 43.05 kB / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.01027, allocations: 13.06 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01029, allocations: 0 / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.01032, allocations: 45.31 kB / 0.7916 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.01032, allocations: 0 / 0.7916 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.000284/0.01061, allocations: 67.8 kB / 0.7917 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.01064, allocations: 55.41 kB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01078, allocations: 190.6 kB / 0.7919 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.01079, allocations: 25.7 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.01086, allocations: 146.8 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.01089, allocations: 17.38 kB / 0.7921 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.01093, allocations: 31.36 kB / 0.7921 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01107, allocations: 496.1 kB / 0.7926 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.01111, allocations: 11.98 kB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.01113, allocations: 12.5 kB / 0.7926 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.0112, allocations: 24.2 kB / 0.7926 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01121, allocations: 4 kB / 0.7926 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001657/0.01137, allocations: 71.45 kB / 0.7927 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.01139, allocations: 4 kB / 0.7927 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.0114, allocations: 0 / 0.7927 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01141, allocations: 4 kB / 0.7927 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01153, allocations: 11.98 kB / 0.7927 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.01154, allocations: 2.562 kB / 0.7927 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.01159, allocations: 4 kB / 0.7927 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01159, allocations: 0 / 0.7927 GB, free: 6.863 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 9.36e-05/0.01169, allocations: 160.6 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.01175, allocations: 11.89 kB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.01193, allocations: 74.61 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01193, allocations: 0 / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01194, allocations: 4.703 kB / 0.793 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01194, allocations: 0 / 0.793 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.01226, allocations: 137 kB / 0.7931 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01226, allocations: 0.9375 kB / 0.7931 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.01234, allocations: 15.98 kB / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01234, allocations: 0.75 kB / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01235, allocations: 4.188 kB / 0.7931 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01236, allocations: 9.078 kB / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01236, allocations: 0 / 0.7931 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01257, allocations: 219.8 kB / 0.7933 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01258, allocations: 8.797 kB / 0.7933 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.0126, allocations: 3.938 kB / 0.7933 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.01268, allocations: 4 kB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.01272, allocations: 5.453 kB / 0.7933 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01273, allocations: 4 kB / 0.7933 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.436e-05/0.01281, allocations: 144.9 kB / 0.7935 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01281, allocations: 1.062 kB / 0.7935 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002844/0.01309, allocations: 20 kB / 0.7935 GB, free: 5.988 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.0002183/0.01331, allocations: 117.2 kB / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01345, allocations: 35.61 kB / 0.7937 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01345, allocations: 0 / 0.7937 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.01349, allocations: 31.61 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.01382, allocations: 14.28 kB / 0.7937 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.01468, allocations: 203.7 kB / 0.7939 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.01472, allocations: 59.34 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.01478, allocations: 13.31 kB / 0.794 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.01482, allocations: 14.38 kB / 0.794 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.01482, allocations: 0 / 0.794 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.004268/0.01909, allocations: 1.151 MB / 0.7951 GB, free: 4.34 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.164537749020383]