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.00152/0.00152, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001461/0.001461, allocations: 169 kB / 24.27 MB, free: 280 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 1.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.814/1.814, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.913e-06/1.913e-06, allocations: 0 / 0.8115 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.344e-05, allocations: 3.781 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002114/0.002147, allocations: 1.491 MB / 0.813 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003289, allocations: 0.8084 MB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.00333, allocations: 0 / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.003399, allocations: 0 / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.003451, allocations: 9.094 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.004105, allocations: 184.2 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.004221, allocations: 37.27 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.00431, allocations: 11.98 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.004362, allocations: 19.98 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.004412, allocations: 17.91 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.004428, allocations: 4 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.00472, allocations: 215.6 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.004766, allocations: 7.984 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.004799, allocations: 11.94 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.005074, allocations: 221.4 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005076, allocations: 3.938 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005077, allocations: 0 / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005082, allocations: 0 / 0.8145 GB, free: 15 MB / 0.7761 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.0004486/0.00553, allocations: 459.6 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.005571, allocations: 12.81 kB / 0.815 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.005625, allocations: 8.938 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.005723, allocations: 121 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.005734, allocations: 1.094 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.005746, allocations: 4.375 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.005932, allocations: 117.1 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.005938, allocations: 192 / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.005949, allocations: 1.688 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005957, allocations: 3.938 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.006015, allocations: 69.61 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.006335, allocations: 264.4 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.006425, allocations: 90.11 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.006481, allocations: 69.45 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.006494, allocations: 0 / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.006528, allocations: 45.31 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006528, allocations: 1.156 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002728/0.006801, allocations: 218.6 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.006849, allocations: 85.09 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.00695, allocations: 175.2 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.006967, allocations: 29.7 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.007021, allocations: 138.8 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.007038, allocations: 12.84 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.007072, allocations: 23.38 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004252/0.007497, allocations: 0.4892 MB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.00757, allocations: 103.3 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.007626, allocations: 96.66 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.007762, allocations: 176.7 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.007765, allocations: 4 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001798/0.007945, allocations: 240.5 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.007987, allocations: 64.19 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.007993, allocations: 4.062 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.008007, allocations: 5.219 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.008067, allocations: 3.984 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008072, allocations: 0 / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.008096, allocations: 13.2 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.008105, allocations: 4 kB / 0.8175 GB, free: 11.56 MB / 0.7761 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 8.266e-05/0.008188, allocations: 190.3 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.008209, allocations: 9.656 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.008229, allocations: 8 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.008232, allocations: 0 / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008235, allocations: 0 / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008239, allocations: 2.625 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.008339, allocations: 124.6 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00834, allocations: 0 / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.008356, allocations: 11.92 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.008357, allocations: 0 / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.008368, allocations: 7.938 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.008371, allocations: 0 / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008372, allocations: 0.5 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.00856, allocations: 311.2 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.008569, allocations: 12.48 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008585, allocations: 5.281 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.008619, allocations: 4.234 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.008683, allocations: 7.984 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.008687, allocations: 0 / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.008739, allocations: 140.5 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008739, allocations: 0 / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002608/0.008999, allocations: 64.53 kB / 0.8184 GB, free: 10.61 MB / 0.7761 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.0002253/0.009225, allocations: 174.3 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.009452, allocations: 298.5 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009454, allocations: 0 / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.009528, allocations: 128.8 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.009686, allocations: 6.406 kB / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.01001, allocations: 199.9 kB / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.813e-05/0.01005, allocations: 63.2 kB / 0.8192 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.01007, allocations: 6.531 kB / 0.8192 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.01009, allocations: 8.5 kB / 0.8192 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.01009, allocations: 0 / 0.8192 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of Templates: time 0.003926/0.01401, allocations: 1.82 MB / 0.821 GB, free: 7.852 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.209151956019923]