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.002614/0.002614, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002824/0.002824, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.883/2.883, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.416e-06/3.416e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.081e-05/6.422e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.006484/0.006548, allocations: 1.646 MB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.009793, allocations: 0.9454 MB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.009908, allocations: 5.094 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.009962, allocations: 11.86 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.01031, allocations: 21.05 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.01102, allocations: 164.9 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.01126, allocations: 79.66 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.0114, allocations: 13.05 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.01164, allocations: 47.89 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.01178, allocations: 32.92 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.01181, allocations: 4 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.01254, allocations: 272.8 kB / 0.7896 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.01257, allocations: 15.92 kB / 0.7896 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.01263, allocations: 19.92 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.01314, allocations: 189 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.01315, allocations: 0 / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/0.01315, allocations: 0 / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.01316, allocations: 0 / 0.7898 GB, free: 9.285 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.001134/0.01429, allocations: 441 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.01435, allocations: 8.031 kB / 0.7902 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.01482, allocations: 35.75 kB / 0.7903 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.01515, allocations: 146.3 kB / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.01516, allocations: 384 / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.01518, allocations: 4.375 kB / 0.7904 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.01543, allocations: 62.17 kB / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.01544, allocations: 192 / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.01546, allocations: 1.094 kB / 0.7905 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.01547, allocations: 3.938 kB / 0.7905 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.01569, allocations: 33.64 kB / 0.7905 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.01645, allocations: 299.7 kB / 0.7908 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01669, allocations: 60.73 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.01681, allocations: 27.8 kB / 0.7909 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.01684, allocations: 0 / 0.7909 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.409e-05/0.0169, allocations: 42.52 kB / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.0169, allocations: 0 / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0005737/0.01748, allocations: 103.3 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.01755, allocations: 55.34 kB / 0.7911 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.01783, allocations: 203.5 kB / 0.7913 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.01787, allocations: 29.64 kB / 0.7913 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.01802, allocations: 142.9 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.01807, allocations: 25.64 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.01815, allocations: 27.38 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000405/0.01856, allocations: 0.4923 MB / 0.792 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.01867, allocations: 15.98 kB / 0.792 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.01876, allocations: 24.8 kB / 0.792 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.01899, allocations: 48.2 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01899, allocations: 0 / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003541/0.01935, allocations: 90.66 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.01937, allocations: 8.469 kB / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.01938, allocations: 5.312 kB / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.0194, allocations: 64 / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01956, allocations: 15.98 kB / 0.7922 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01957, allocations: 0 / 0.7922 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.01966, allocations: 4.531 kB / 0.7922 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01967, allocations: 1.375 kB / 0.7922 GB, free: 6.684 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 0.0001898/0.01986, allocations: 160.6 kB / 0.7923 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.01995, allocations: 15.89 kB / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.02034, allocations: 95.27 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.02034, allocations: 3.938 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02034, allocations: 5.188 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.02035, allocations: 0 / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.02067, allocations: 144.6 kB / 0.7926 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02067, allocations: 0.8125 kB / 0.7926 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.02079, allocations: 11.98 kB / 0.7926 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.0208, allocations: 0.9375 kB / 0.7926 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02081, allocations: 3.938 kB / 0.7926 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.02081, allocations: 4 kB / 0.7926 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02081, allocations: 1.344 kB / 0.7926 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.0213, allocations: 231.9 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.02133, allocations: 11.89 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.02136, allocations: 4.75 kB / 0.7928 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.02149, allocations: 7.984 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.02156, allocations: 9.906 kB / 0.7928 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.02157, allocations: 0 / 0.7928 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001679/0.02173, allocations: 155.6 kB / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02173, allocations: 0 / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000469/0.0222, allocations: 24 kB / 0.793 GB, free: 5.746 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.0003105/0.02251, allocations: 119.4 kB / 0.7931 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.02283, allocations: 55.8 kB / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02283, allocations: 0 / 0.7932 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.02298, allocations: 35.61 kB / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.02347, allocations: 20.66 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.02445, allocations: 195.2 kB / 0.7934 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.02458, allocations: 81.16 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.02465, allocations: 0.5 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.0247, allocations: 13.09 kB / 0.7935 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.0247, allocations: 0.6562 kB / 0.7935 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.007005/0.03171, allocations: 1.16 MB / 0.7946 GB, free: 4.059 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.190969557035714]