Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00144/0.00144, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001586/0.001586, allocations: 181 kB / 23.35 MB, free: 1.137 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.9349/0.9349, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.293/2.293, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 4 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.068e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001824/0.001844, allocations: 1.502 MB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.002847, allocations: 0.81 MB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.00288, allocations: 4 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.093e-05/0.002941, allocations: 0 / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.002993, allocations: 11.88 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.003552, allocations: 175.5 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.003644, allocations: 47.91 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.003701, allocations: 0 / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.003746, allocations: 27.97 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.003793, allocations: 19.97 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.003806, allocations: 4 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.004073, allocations: 211.6 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.004111, allocations: 8 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.004136, allocations: 15.98 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.004372, allocations: 223.4 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004374, allocations: 0 / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004375, allocations: 0 / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.004378, allocations: 0 / 0.8416 GB, free: 11.08 MB / 0.8073 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.0003194/0.004697, allocations: 328 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.004728, allocations: 12.62 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.004755, allocations: 8.922 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.004827, allocations: 121.6 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004838, allocations: 4.375 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004848, allocations: 4.375 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.004962, allocations: 100.2 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.004968, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.004974, allocations: 0 / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004979, allocations: 4 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.332e-05/0.005013, allocations: 49.62 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.005209, allocations: 160.3 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.005266, allocations: 64.31 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.005298, allocations: 54.62 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.005309, allocations: 3.938 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.005328, allocations: 34.5 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005329, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.005483, allocations: 174.8 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.005516, allocations: 85.09 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.005578, allocations: 118.7 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.00559, allocations: 29.7 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.005619, allocations: 92.11 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.005631, allocations: 7.953 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.005662, allocations: 21.7 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000285/0.005947, allocations: 318.8 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.006, allocations: 82.22 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.006038, allocations: 79.38 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.006116, allocations: 136.7 kB / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006118, allocations: 4 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001164/0.006234, allocations: 200.4 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.006264, allocations: 59.41 kB / 0.8438 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006268, allocations: 3.938 kB / 0.8438 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006279, allocations: 7.984 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.00632, allocations: 4 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006322, allocations: 0 / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.006344, allocations: 7.938 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.006351, allocations: 0 / 0.8439 GB, free: 8.449 MB / 0.8073 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 6.362e-05/0.006415, allocations: 150.4 kB / 0.844 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.006433, allocations: 11.88 kB / 0.844 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.006448, allocations: 4 kB / 0.844 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.00645, allocations: 0 / 0.844 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.006452, allocations: 0 / 0.844 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006454, allocations: 4 kB / 0.844 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.42e-05/0.006539, allocations: 77.88 kB / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006539, allocations: 0 / 0.8441 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.006552, allocations: 4 kB / 0.8441 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006555, allocations: 3.984 kB / 0.8441 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.00656, allocations: 4 kB / 0.8441 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.006562, allocations: 4 kB / 0.8441 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006563, allocations: 0 / 0.8441 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.00668, allocations: 226.9 kB / 0.8443 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-06/0.006686, allocations: 3.953 kB / 0.8443 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.006699, allocations: 11.97 kB / 0.8444 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.006731, allocations: 8 kB / 0.8444 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.006769, allocations: 3.984 kB / 0.8444 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006774, allocations: 4 kB / 0.8444 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.411e-05/0.006788, allocations: 16.78 kB / 0.8444 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006788, allocations: 0 / 0.8444 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001964/0.006985, allocations: 63.92 kB / 0.8444 GB, free: 7.793 MB / 0.8073 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.0001686/0.007153, allocations: 144.2 kB / 0.8446 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.007311, allocations: 260.7 kB / 0.8448 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.007315, allocations: 8 kB / 0.8448 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.007372, allocations: 108.8 kB / 0.8449 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.982e-05/0.007471, allocations: 4.766 kB / 0.8449 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.007702, allocations: 193 kB / 0.8451 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.007732, allocations: 59.34 kB / 0.8452 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.263e-05/0.007744, allocations: 0 / 0.8452 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.007794, allocations: 63.38 kB / 0.8452 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.007795, allocations: 0 / 0.8452 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.0031/0.01089, allocations: 1.991 MB / 0.8472 GB, free: 4.887 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.078502576332539]