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.001541/0.001541, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001177/0.001177, allocations: 169 kB / 24.06 MB, free: 456 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.9765/0.9765, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.113/2.113, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.553e-06/1.553e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.674e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003036/0.003063, allocations: 1.515 MB / 0.8809 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.004189, allocations: 0.8065 MB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.00423, allocations: 1.312 kB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.661e-05/0.004307, allocations: 0 / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.004367, allocations: 3.938 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.005142, allocations: 181.7 kB / 0.8819 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.005272, allocations: 47.91 kB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.005358, allocations: 8.891 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.005418, allocations: 19.98 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.00548, allocations: 21.38 kB / 0.882 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.005497, allocations: 4 kB / 0.882 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.005905, allocations: 211.7 kB / 0.8822 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.005958, allocations: 8 kB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.005994, allocations: 17.2 kB / 0.8822 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.006354, allocations: 223.5 kB / 0.8824 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.006359, allocations: 3.938 kB / 0.8824 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00636, allocations: 0 / 0.8824 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006364, allocations: 3.281 kB / 0.8824 GB, free: 2.965 MB / 0.8386 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.0005163/0.006881, allocations: 451.6 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.006929, allocations: 12.03 kB / 0.8828 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.006978, allocations: 12.89 kB / 0.8829 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.007091, allocations: 120.5 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.007106, allocations: 384 / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.007118, allocations: 4.375 kB / 0.883 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.007297, allocations: 100.2 kB / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.007306, allocations: 0.5938 kB / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.007314, allocations: 0 / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.007319, allocations: 1.406 kB / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.00738, allocations: 53.62 kB / 0.8831 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.007708, allocations: 252.4 kB / 0.8834 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.007803, allocations: 72.75 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.007861, allocations: 61.39 kB / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007874, allocations: 0 / 0.8835 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.007902, allocations: 37.39 kB / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.007903, allocations: 0 / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000276/0.008179, allocations: 178.7 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.008225, allocations: 89.09 kB / 0.8838 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.008337, allocations: 177.8 kB / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.008352, allocations: 29.7 kB / 0.884 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.00841, allocations: 134.9 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.008429, allocations: 15.97 kB / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.00848, allocations: 31.36 kB / 0.8842 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.00863, allocations: 496.1 kB / 0.8846 GB, free: 444 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.008703, allocations: 79.39 kB / 0.8847 GB, free: 352 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.008758, allocations: 79.39 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.008879, allocations: 144.7 kB / 0.8849 GB, free: 92 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.008884, allocations: 4.062 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002228/0.009107, allocations: 212.4 kB / 0.8851 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.009159, allocations: 63.41 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009164, allocations: 0 / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.009173, allocations: 240 / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.009236, allocations: 11.98 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.009238, allocations: 0 / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.009273, allocations: 7.938 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.009284, allocations: 4 kB / 0.8852 GB, free: 15.75 MB / 0.8542 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 0.0001058/0.00939, allocations: 182.3 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.009424, allocations: 15.88 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.009451, allocations: 11.98 kB / 0.8854 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009455, allocations: 4 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009457, allocations: 0 / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00946, allocations: 0 / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.009603, allocations: 105.2 kB / 0.8855 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.009605, allocations: 0 / 0.8855 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.009639, allocations: 3.938 kB / 0.8855 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.009643, allocations: 4 kB / 0.8855 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.009653, allocations: 7.938 kB / 0.8855 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009655, allocations: 0 / 0.8855 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.009657, allocations: 0 / 0.8855 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.009904, allocations: 287.3 kB / 0.8858 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.009915, allocations: 3.953 kB / 0.8858 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.009932, allocations: 11.88 kB / 0.8858 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01, allocations: 8.016 kB / 0.8858 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01005, allocations: 8 kB / 0.8858 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01006, allocations: 4 kB / 0.8858 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.01012, allocations: 131.2 kB / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01012, allocations: 0 / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003467/0.01047, allocations: 59.92 kB / 0.886 GB, free: 14.84 MB / 0.8542 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.0003005/0.01077, allocations: 163 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.01103, allocations: 263.5 kB / 0.8864 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01104, allocations: 0 / 0.8864 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.0114, allocations: 116.8 kB / 0.8865 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.01166, allocations: 4 kB / 0.8865 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.01203, allocations: 191.8 kB / 0.8867 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.01207, allocations: 59.34 kB / 0.8868 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.01209, allocations: 0 / 0.8868 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.01217, allocations: 82.2 kB / 0.8869 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of SimCode: time 6.32e-07/0.01217, allocations: 0 / 0.8869 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.005352/0.01752, allocations: 2.054 MB / 0.8889 GB, free: 11.84 MB / 0.8542 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.495645362883806]