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.001345/0.001345, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009473/0.0009473, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9271/0.9271, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.695/1.695, allocations: 359 MB / 0.6052 GB, free: 11.01 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.503e-06/1.503e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.576e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00171/0.001726, allocations: 1.505 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.002677, allocations: 0.8096 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.002707, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.585e-05/0.002773, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.00282, allocations: 3.938 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.00336, allocations: 181.2 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.003456, allocations: 48.48 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.003522, allocations: 4 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.003567, allocations: 25.27 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.003615, allocations: 15.98 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003627, allocations: 0 / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.003895, allocations: 221 kB / 0.7899 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.003933, allocations: 7.938 kB / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003963, allocations: 8 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.004212, allocations: 227.5 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004215, allocations: 5.688 kB / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004215, allocations: 0 / 0.7901 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.004219, allocations: 0 / 0.7901 GB, free: 9.434 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.0003883/0.004607, allocations: 459.6 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.004644, allocations: 8.031 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.004685, allocations: 6.125 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.052e-05/0.004766, allocations: 120.5 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004777, allocations: 4.375 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.004786, allocations: 2.312 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.004954, allocations: 112.6 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004961, allocations: 192 / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.00497, allocations: 4.312 kB / 0.7908 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004977, allocations: 3.938 kB / 0.7908 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.005027, allocations: 68.2 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.005325, allocations: 271.8 kB / 0.7911 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.951e-05/0.005404, allocations: 88.73 kB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.005455, allocations: 65.44 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.005466, allocations: 4 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.005491, allocations: 45.31 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005492, allocations: 0.5312 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002554/0.005747, allocations: 219.4 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.005784, allocations: 85.09 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.005875, allocations: 174.5 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005886, allocations: 29.7 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.005931, allocations: 136.5 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.005945, allocations: 15.91 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.005978, allocations: 27.38 kB / 0.792 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.006111, allocations: 496.1 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.006175, allocations: 99.97 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.006227, allocations: 91.39 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.006339, allocations: 193.5 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006341, allocations: 0 / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001475/0.006489, allocations: 241.6 kB / 0.793 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.006521, allocations: 63.34 kB / 0.7931 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006525, allocations: 4 kB / 0.7931 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.006559, allocations: 4.828 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.006608, allocations: 0 / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006612, allocations: 0.8438 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.006633, allocations: 11.89 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.006641, allocations: 5.281 kB / 0.7931 GB, free: 6.004 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.249e-05/0.006714, allocations: 190.3 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.006731, allocations: 7.938 kB / 0.7933 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.006747, allocations: 8.844 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.006749, allocations: 3.938 kB / 0.7933 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.006751, allocations: 1.219 kB / 0.7933 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.006753, allocations: 0 / 0.7933 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.006841, allocations: 124.6 kB / 0.7934 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006844, allocations: 9.297 kB / 0.7934 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.006856, allocations: 3.938 kB / 0.7934 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006857, allocations: 0 / 0.7934 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.006865, allocations: 7.938 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006866, allocations: 1.625 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006866, allocations: 0 / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.007029, allocations: 315.2 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.007035, allocations: 3.953 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.007053, allocations: 10.66 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.007084, allocations: 4 kB / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.007139, allocations: 7.984 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007143, allocations: 0 / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.007182, allocations: 139.6 kB / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007182, allocations: 0 / 0.7939 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000217/0.007399, allocations: 51.94 kB / 0.794 GB, free: 5.055 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.0001885/0.007588, allocations: 168 kB / 0.7941 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.0078, allocations: 296.8 kB / 0.7944 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007802, allocations: 0 / 0.7944 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.00787, allocations: 128.8 kB / 0.7945 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.008016, allocations: 11.48 kB / 0.7945 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.008296, allocations: 207.1 kB / 0.7947 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.008334, allocations: 68 kB / 0.7948 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.008351, allocations: 0.7188 kB / 0.7948 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.008369, allocations: 8.5 kB / 0.7948 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.00837, allocations: 6.875 kB / 0.7948 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.003449/0.01182, allocations: 1.992 MB / 0.7968 GB, free: 2.117 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.7155452417209744]