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.001319/0.001319, 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.001537/0.001537, 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 0.9503/0.9503, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.751/1.751, 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.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.973e-06/1.973e-06, allocations: 4.641 kB / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.021e-05, allocations: 8.984 kB / 0.7871 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001802/0.001822, allocations: 1.484 MB / 0.7886 GB, free: 9.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.002813, allocations: 0.806 MB / 0.7894 GB, free: 9.043 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.002846, allocations: 4 kB / 0.7894 GB, free: 9.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.197e-05/0.002918, allocations: 3.938 kB / 0.7894 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.002969, allocations: 0 / 0.7894 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.003583, allocations: 180.8 kB / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.003684, allocations: 48.47 kB / 0.7896 GB, free: 8.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.003759, allocations: 7.938 kB / 0.7896 GB, free: 8.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.003807, allocations: 29.28 kB / 0.7896 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.003853, allocations: 15.97 kB / 0.7896 GB, free: 8.762 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.00387, allocations: 4 kB / 0.7896 GB, free: 8.758 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.004162, allocations: 208.8 kB / 0.7898 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.00421, allocations: 11.94 kB / 0.7899 GB, free: 8.543 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.004248, allocations: 11.98 kB / 0.7899 GB, free: 8.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.004501, allocations: 224.9 kB / 0.7901 GB, free: 8.312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004504, allocations: 0 / 0.7901 GB, free: 8.312 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.704e-06/0.004505, allocations: 4 kB / 0.7901 GB, free: 8.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.004509, allocations: 0 / 0.7901 GB, free: 8.309 MB / 0.698 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.0004025/0.004912, allocations: 456.1 kB / 0.7905 GB, free: 7.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.004947, allocations: 13.19 kB / 0.7905 GB, free: 7.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.004985, allocations: 4.938 kB / 0.7905 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.774e-05/0.005063, allocations: 116.6 kB / 0.7906 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.005075, allocations: 5.344 kB / 0.7906 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.005089, allocations: 12.3 kB / 0.7907 GB, free: 7.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.005245, allocations: 104.6 kB / 0.7908 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005255, allocations: 8.875 kB / 0.7908 GB, free: 7.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005266, allocations: 384 / 0.7908 GB, free: 7.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.005277, allocations: 10.39 kB / 0.7908 GB, free: 7.512 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.00533, allocations: 57.69 kB / 0.7908 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.005627, allocations: 271.8 kB / 0.7911 GB, free: 7.148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.005706, allocations: 92.67 kB / 0.7912 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.005761, allocations: 69.44 kB / 0.7912 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.005775, allocations: 0 / 0.7912 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.005798, allocations: 43.08 kB / 0.7913 GB, free: 6.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005799, allocations: 0 / 0.7913 GB, free: 6.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005573/0.006356, allocations: 222.7 kB / 0.7915 GB, free: 6.668 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.006391, allocations: 81.05 kB / 0.7916 GB, free: 6.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.006484, allocations: 182.5 kB / 0.7918 GB, free: 6.375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.006497, allocations: 25.7 kB / 0.7918 GB, free: 6.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.006546, allocations: 139.4 kB / 0.7919 GB, free: 6.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.006561, allocations: 12.5 kB / 0.7919 GB, free: 6.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.006601, allocations: 23.38 kB / 0.7919 GB, free: 6.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.006703, allocations: 0.4931 MB / 0.7924 GB, free: 5.656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.006769, allocations: 95.38 kB / 0.7925 GB, free: 5.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.006827, allocations: 100.5 kB / 0.7926 GB, free: 5.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.006943, allocations: 172.8 kB / 0.7928 GB, free: 5.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006946, allocations: 0 / 0.7928 GB, free: 5.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001649/0.00711, allocations: 245.8 kB / 0.793 GB, free: 4.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.007146, allocations: 71.27 kB / 0.7931 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.007151, allocations: 0 / 0.7931 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.007165, allocations: 0 / 0.7931 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.007222, allocations: 5.75 kB / 0.7931 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007228, allocations: 0 / 0.7931 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.007253, allocations: 7.953 kB / 0.7931 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.007263, allocations: 4 kB / 0.7931 GB, free: 4.883 MB / 0.698 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.313e-05/0.007336, allocations: 191.6 kB / 0.7933 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.007357, allocations: 7.938 kB / 0.7933 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.007375, allocations: 7.938 kB / 0.7933 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.007376, allocations: 0.5625 kB / 0.7933 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.007382, allocations: 8.531 kB / 0.7933 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.007385, allocations: 0 / 0.7933 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.007486, allocations: 134.5 kB / 0.7934 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007487, allocations: 0 / 0.7934 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.007502, allocations: 4 kB / 0.7934 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007504, allocations: 0 / 0.7934 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.007516, allocations: 3.938 kB / 0.7934 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007517, allocations: 2.594 kB / 0.7934 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007518, allocations: 0 / 0.7934 GB, free: 4.484 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.007709, allocations: 319.4 kB / 0.7937 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007717, allocations: 7.984 kB / 0.7938 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.00773, allocations: 3.938 kB / 0.7938 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.007766, allocations: 11.98 kB / 0.7938 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.007823, allocations: 0 / 0.7938 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.007826, allocations: 4.531 kB / 0.7938 GB, free: 4.113 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.007871, allocations: 135.9 kB / 0.7939 GB, free: 3.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007871, allocations: 0 / 0.7939 GB, free: 3.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002333/0.008104, allocations: 56.42 kB / 0.794 GB, free: 3.926 MB / 0.698 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.0002063/0.00831, allocations: 171.1 kB / 0.7941 GB, free: 3.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.008532, allocations: 295.5 kB / 0.7944 GB, free: 3.414 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008534, allocations: 4 kB / 0.7944 GB, free: 3.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.008607, allocations: 133.6 kB / 0.7945 GB, free: 3.258 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.008765, allocations: 10.25 kB / 0.7945 GB, free: 3.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.009071, allocations: 192.7 kB / 0.7947 GB, free: 3.027 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.009111, allocations: 60.62 kB / 0.7948 GB, free: 2.949 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.009127, allocations: 0 / 0.7948 GB, free: 2.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.009152, allocations: 16.44 kB / 0.7948 GB, free: 2.934 MB / 0.698 GB Notification: Performance of SimCode: time 1.173e-06/0.009153, allocations: 0.8438 kB / 0.7948 GB, free: 2.934 MB / 0.698 GB Notification: Performance of Templates: time 0.003499/0.01265, allocations: 1.813 MB / 0.7966 GB, free: 1.184 MB / 0.698 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: 5.10097792185843]