Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007569/0.0007569, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009941/0.001751, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006966/0.0006966, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009061/0.001603, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8658/0.8658, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07846/0.9443, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.699/1.699, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4016/2.101, allocations: 123.3 MB / 0.728 GB, free: 5.84 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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0.7656 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.069e-05, allocations: 8.031 kB / 0.7294 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001606/0.001617, allocations: 1.54 MB / 0.7309 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.00243, allocations: 0.8175 MB / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.002456, allocations: 0 / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.002501, allocations: 3.938 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.00253, allocations: 7.281 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.002875, allocations: 152.3 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.002973, allocations: 51.14 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.003027, allocations: 5.594 kB / 0.7319 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.003079, allocations: 25.39 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.00312, allocations: 18.16 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.003132, allocations: 4.547 kB / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.003389, allocations: 238.2 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.003418, allocations: 6.734 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.003441, allocations: 10.41 kB / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.003633, allocations: 188 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.003644, allocations: 4 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003645, allocations: 0.8125 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.003656, allocations: 0 / 0.7323 GB, free: 1.5 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.0004276/0.004083, allocations: 340.4 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.476e-05/0.004108, allocations: 8.031 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.004137, allocations: 14.05 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.004203, allocations: 109.7 kB / 0.7328 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.004211, allocations: 4.375 kB / 0.7328 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004219, allocations: 5.094 kB / 0.7328 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.004327, allocations: 92.64 kB / 0.7329 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004333, allocations: 4.656 kB / 0.7329 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.00434, allocations: 5.312 kB / 0.7329 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.004344, allocations: 3.938 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.004378, allocations: 49.69 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.004549, allocations: 164.8 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.004602, allocations: 65.12 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.004635, allocations: 54.62 kB / 0.7332 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.004644, allocations: 0.5 kB / 0.7332 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004663, allocations: 35.75 kB / 0.7333 GB, free: 452 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004664, allocations: 0 / 0.7333 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001529/0.004817, allocations: 182.7 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.004837, allocations: 52.25 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.004893, allocations: 114.7 kB / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004902, allocations: 30.23 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.004937, allocations: 84.12 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.004949, allocations: 13.22 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.004979, allocations: 21.7 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.005041, allocations: 314.8 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.00509, allocations: 86.98 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.005126, allocations: 83.33 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.005201, allocations: 150.3 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005203, allocations: 0 / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001009/0.005304, allocations: 196.5 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.005337, allocations: 63.39 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005341, allocations: 4.859 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.005349, allocations: 7.938 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.005391, allocations: 0 / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.005394, allocations: 0.9062 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.005416, allocations: 15.88 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.005423, allocations: 5.984 kB / 0.7346 GB, free: 14.89 MB / 0.7136 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 5.856e-05/0.005482, allocations: 146.3 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.005495, allocations: 4 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.005512, allocations: 11.97 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.005515, allocations: 8.438 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005516, allocations: 1.094 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005518, allocations: 3.938 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.159e-05/0.00559, allocations: 69.89 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.00559, allocations: 0.625 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-06/0.0056, allocations: 0 / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.005606, allocations: 9.234 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005607, allocations: 0 / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.005613, allocations: 4 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.005615, allocations: 9.094 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.005617, allocations: 3.984 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005724, allocations: 222.9 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.005734, allocations: 5.25 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/0.005764, allocations: 4 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.005797, allocations: 11.88 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.005802, allocations: 5.031 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.307e-05/0.005815, allocations: 13.28 kB / 0.7351 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005815, allocations: 4 kB / 0.7351 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001588/0.005973, allocations: 64.41 kB / 0.7352 GB, free: 14.23 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: 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.0001537/0.006127, allocations: 145.8 kB / 0.7353 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.006273, allocations: 268.7 kB / 0.7356 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.006276, allocations: 1.219 kB / 0.7356 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.006544, allocations: 112.8 kB / 0.7357 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.864e-05/0.006643, allocations: 8.328 kB / 0.7357 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.006951, allocations: 185.6 kB / 0.7359 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.006981, allocations: 64.09 kB / 0.7359 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.006994, allocations: 4.75 kB / 0.7359 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.007039, allocations: 55.38 kB / 0.736 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.00704, allocations: 0.8125 kB / 0.736 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.002969/0.01001, allocations: 1.997 MB / 0.738 GB, free: 11.39 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.ref.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.32420789450407]