Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0007726/0.0007726, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001892, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007015/0.0007015, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000966/0.001667, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9157/0.9157, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.785/1.785, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4005/2.186, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.876e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004579/0.004598, allocations: 4.789 MB / 0.7344 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.005341, allocations: 0.8409 MB / 0.7352 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.005386, allocations: 0 / 0.7352 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.944e-05/0.005475, allocations: 36.22 kB / 0.7352 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.00551, allocations: 33.39 kB / 0.7353 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.005838, allocations: 177 kB / 0.7354 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.00598, allocations: 176.2 kB / 0.7356 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.006055, allocations: 13.97 kB / 0.7356 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.006216, allocations: 120.3 kB / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.006289, allocations: 64.53 kB / 0.7358 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.006307, allocations: 12 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.006536, allocations: 161.4 kB / 0.736 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.006561, allocations: 23.94 kB / 0.736 GB, free: 14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.006594, allocations: 35.94 kB / 0.736 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.006818, allocations: 179.5 kB / 0.7362 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.006829, allocations: 0.5938 kB / 0.7362 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00683, allocations: 0 / 0.7362 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.00684, allocations: 1 kB / 0.7362 GB, free: 13.79 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005495/0.007389, allocations: 486.4 kB / 0.7367 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.007417, allocations: 8.031 kB / 0.7367 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.007453, allocations: 17.64 kB / 0.7367 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.254e-05/0.007536, allocations: 121.7 kB / 0.7368 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-06/0.007545, allocations: 9.188 kB / 0.7368 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.007561, allocations: 8.375 kB / 0.7368 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.0077, allocations: 98.94 kB / 0.7369 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.007706, allocations: 192 / 0.7369 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.007716, allocations: 13.09 kB / 0.7369 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.007721, allocations: 7.938 kB / 0.7369 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.007785, allocations: 35.56 kB / 0.737 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.008223, allocations: 305.1 kB / 0.7373 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.008307, allocations: 62.53 kB / 0.7373 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.008335, allocations: 25.77 kB / 0.7373 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.008862, allocations: 427.6 kB / 0.7377 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.008885, allocations: 38.56 kB / 0.7378 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.008887, allocations: 3.984 kB / 0.7378 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001456/0.009033, allocations: 80.41 kB / 0.7379 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.00906, allocations: 63.28 kB / 0.7379 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.009143, allocations: 166 kB / 0.7381 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.009156, allocations: 29.7 kB / 0.7381 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.009198, allocations: 104.5 kB / 0.7382 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.009218, allocations: 43.61 kB / 0.7383 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.009265, allocations: 53.64 kB / 0.7383 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.009336, allocations: 333.2 kB / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.009365, allocations: 19.98 kB / 0.7386 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.009411, allocations: 47.41 kB / 0.7387 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.00949, allocations: 90.55 kB / 0.7388 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009492, allocations: 2.438 kB / 0.7388 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000123/0.009615, allocations: 117.4 kB / 0.7389 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009626, allocations: 4 kB / 0.7389 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.009632, allocations: 4 kB / 0.7389 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.009641, allocations: 4 kB / 0.7389 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.009776, allocations: 62.34 kB / 0.739 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009781, allocations: 7.984 kB / 0.739 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.009832, allocations: 19.88 kB / 0.739 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.009847, allocations: 8 kB / 0.739 GB, free: 10.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 5.999e-05/0.009907, allocations: 121.7 kB / 0.7391 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.009925, allocations: 13.8 kB / 0.7391 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.01004, allocations: 95.33 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01004, allocations: 4 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01004, allocations: 3.938 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01005, allocations: 3.984 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.01015, allocations: 104.5 kB / 0.7393 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01015, allocations: 4 kB / 0.7393 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.01021, allocations: 23.98 kB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01024, allocations: 19.89 kB / 0.7394 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01024, allocations: 4 kB / 0.7394 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.01024, allocations: 0 / 0.7394 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01025, allocations: 0 / 0.7394 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01025, allocations: 2.438 kB / 0.7394 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.511e-05/0.01034, allocations: 179.4 kB / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.01035, allocations: 0 / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.0104, allocations: 4 kB / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.01043, allocations: 11.98 kB / 0.7396 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.01043, allocations: 3.984 kB / 0.7396 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.01046, allocations: 40.2 kB / 0.7396 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01046, allocations: 0 / 0.7396 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001784/0.01064, allocations: 63.8 kB / 0.7397 GB, free: 10.02 MB / 0.7136 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 (12): * Single equations (assignments): 12 * 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.0001831/0.01082, allocations: 138.5 kB / 0.7398 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.01094, allocations: 87.59 kB / 0.7399 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.01095, allocations: 2.688 kB / 0.7399 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.013e-05/0.01099, allocations: 36.78 kB / 0.7399 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01121, allocations: 205.5 kB / 0.7401 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.01204, allocations: 255.9 kB / 0.7404 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.01208, allocations: 63.84 kB / 0.7404 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.621e-05/0.01213, allocations: 17.28 kB / 0.7404 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.01221, allocations: 75.36 kB / 0.7405 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01222, allocations: 4.75 kB / 0.7405 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.004495/0.01671, allocations: 3.019 MB / 0.7435 GB, free: 6.219 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.539087128825486]