Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001065/0.001065, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00131/0.00131, allocations: 169 kB / 24.28 MB, free: 280 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.9975/0.9975, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.756/1.756, allocations: 359 MB / 0.6055 GB, free: 11.03 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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.04e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001995/0.002026, allocations: 1.491 MB / 0.7886 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003237, allocations: 0.8069 MB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.003277, allocations: 0 / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.003351, allocations: 8.688 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.003402, allocations: 0.7188 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.00399, allocations: 181.7 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.004106, allocations: 47.91 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.004189, allocations: 0 / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.004242, allocations: 20.58 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.004293, allocations: 23.91 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004309, allocations: 6.75 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.004576, allocations: 203.7 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.004626, allocations: 11.94 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.004663, allocations: 19.97 kB / 0.7899 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.004911, allocations: 219.4 kB / 0.7901 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.004914, allocations: 0 / 0.7901 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004915, allocations: 0 / 0.7901 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.00492, allocations: 1.469 kB / 0.7901 GB, free: 9.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004312/0.005351, allocations: 459.6 kB / 0.7905 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.00539, allocations: 8.031 kB / 0.7905 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.005434, allocations: 4.938 kB / 0.7905 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.005526, allocations: 121.1 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005538, allocations: 9.156 kB / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.005549, allocations: 384 / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.005714, allocations: 109.5 kB / 0.7908 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.00572, allocations: 192 / 0.7908 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005729, allocations: 384 / 0.7908 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005736, allocations: 9.75 kB / 0.7908 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.005791, allocations: 61.67 kB / 0.7908 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.006107, allocations: 275.8 kB / 0.7911 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.006194, allocations: 88.67 kB / 0.7912 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.006246, allocations: 70.97 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.006259, allocations: 7.938 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.006281, allocations: 37.33 kB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.006282, allocations: 0 / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002588/0.006541, allocations: 224.6 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.006575, allocations: 85.05 kB / 0.7916 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.00667, allocations: 181.9 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.00668, allocations: 25.7 kB / 0.7918 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.006732, allocations: 138.9 kB / 0.7919 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.006746, allocations: 10.47 kB / 0.7919 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.006783, allocations: 27.38 kB / 0.7919 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.00689, allocations: 0.4884 MB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.006973, allocations: 99.38 kB / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.007032, allocations: 99.38 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.00715, allocations: 172.8 kB / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007152, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001657/0.007318, allocations: 244.9 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.007358, allocations: 72.05 kB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007363, allocations: 0 / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.007376, allocations: 0.5312 kB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.007434, allocations: 5.625 kB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007439, allocations: 0 / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.007463, allocations: 11.89 kB / 0.7931 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.00747, allocations: 0 / 0.7931 GB, free: 6.34 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 7.665e-05/0.007547, allocations: 186.9 kB / 0.7933 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.007565, allocations: 12.17 kB / 0.7933 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.007587, allocations: 8.75 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.007591, allocations: 8.672 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007594, allocations: 0 / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007597, allocations: 1 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.007696, allocations: 128.6 kB / 0.7934 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007698, allocations: 0 / 0.7934 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.007713, allocations: 1.375 kB / 0.7934 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007716, allocations: 7.938 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.007725, allocations: 7.938 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007726, allocations: 0 / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007728, allocations: 1.094 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.007913, allocations: 319.2 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.007923, allocations: 4.547 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.007937, allocations: 7.938 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.007971, allocations: 0.9375 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.008036, allocations: 11.98 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.008041, allocations: 4.844 kB / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.008085, allocations: 135.2 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008085, allocations: 0 / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002303/0.008316, allocations: 53.56 kB / 0.794 GB, free: 5.383 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002218/0.008537, allocations: 163.1 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.008771, allocations: 296.4 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008773, allocations: 3.938 kB / 0.7944 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.008845, allocations: 130.9 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.009009, allocations: 6.062 kB / 0.7945 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.009325, allocations: 207.8 kB / 0.7947 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.009363, allocations: 63.34 kB / 0.7948 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.009383, allocations: 2.188 kB / 0.7948 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.009402, allocations: 8.5 kB / 0.7948 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.009402, allocations: 0 / 0.7948 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.003831/0.01323, allocations: 1.823 MB / 0.7966 GB, free: 2.633 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.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: 4.917240069014952]