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.001132/0.001132, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001092/0.001092, allocations: 185 kB / 24.09 MB, free: 416 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.9538/0.9538, 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 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.816/1.816, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.613e-06/1.613e-06, allocations: 0 / 0.812 GB, free: 296 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.851e-05, allocations: 4.75 kB / 0.812 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001744/0.001763, allocations: 1.477 MB / 0.8135 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002764, allocations: 0.8153 MB / 0.8143 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.002799, allocations: 5.688 kB / 0.8143 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.227e-05/0.002872, allocations: 3.938 kB / 0.8143 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.00292, allocations: 0 / 0.8143 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.003424, allocations: 177 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.003517, allocations: 45.66 kB / 0.8145 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.003583, allocations: 11.94 kB / 0.8145 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.003634, allocations: 23.97 kB / 0.8145 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.003679, allocations: 15.92 kB / 0.8145 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003693, allocations: 4 kB / 0.8145 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.003941, allocations: 216.8 kB / 0.8148 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.003976, allocations: 4 kB / 0.8148 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.004, allocations: 15.92 kB / 0.8148 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.004219, allocations: 224.5 kB / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004221, allocations: 0 / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.031e-06/0.004222, allocations: 0 / 0.815 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.004225, allocations: 0.875 kB / 0.815 GB, free: 13.27 MB / 0.7292 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.0003623/0.004587, allocations: 463.6 kB / 0.8154 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.004623, allocations: 14.25 kB / 0.8154 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.00465, allocations: 4.938 kB / 0.8154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.317e-05/0.004723, allocations: 116.6 kB / 0.8156 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.004732, allocations: 4.359 kB / 0.8156 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.00474, allocations: 4.375 kB / 0.8156 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004864, allocations: 108.6 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.00487, allocations: 0.7188 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004877, allocations: 1.094 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.004882, allocations: 3.938 kB / 0.8157 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.00492, allocations: 50.19 kB / 0.8157 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.005185, allocations: 250 kB / 0.816 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.00525, allocations: 72.73 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.005289, allocations: 57.45 kB / 0.8161 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.005305, allocations: 3.938 kB / 0.8161 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.00533, allocations: 38.02 kB / 0.8161 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.005331, allocations: 0.8438 kB / 0.8161 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.005536, allocations: 182.7 kB / 0.8163 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.005573, allocations: 81.64 kB / 0.8164 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.005663, allocations: 185.8 kB / 0.8166 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005676, allocations: 30.33 kB / 0.8166 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.005728, allocations: 130.9 kB / 0.8167 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.005746, allocations: 16.56 kB / 0.8167 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.00578, allocations: 28.73 kB / 0.8168 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.005914, allocations: 496.1 kB / 0.8172 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.005972, allocations: 83.38 kB / 0.8173 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.006018, allocations: 83.33 kB / 0.8174 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.006107, allocations: 141.6 kB / 0.8175 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006109, allocations: 0 / 0.8175 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001396/0.006248, allocations: 201.4 kB / 0.8177 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.006288, allocations: 63.39 kB / 0.8178 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.006294, allocations: 3.938 kB / 0.8178 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.006305, allocations: 1.219 kB / 0.8178 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.00635, allocations: 4 kB / 0.8178 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.006354, allocations: 0 / 0.8178 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.006377, allocations: 12.97 kB / 0.8178 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.006388, allocations: 8 kB / 0.8178 GB, free: 10.06 MB / 0.7292 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.616e-05/0.006474, allocations: 196.5 kB / 0.818 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.00649, allocations: 4 kB / 0.818 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.006514, allocations: 7.938 kB / 0.818 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.006518, allocations: 7.984 kB / 0.818 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.00652, allocations: 0 / 0.818 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006523, allocations: 0 / 0.818 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.988e-05/0.006623, allocations: 112.5 kB / 0.8181 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006624, allocations: 0 / 0.8181 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.006636, allocations: 0 / 0.8181 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006638, allocations: 4 kB / 0.8181 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006644, allocations: 0 / 0.8181 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006645, allocations: 0 / 0.8181 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006647, allocations: 3.938 kB / 0.8181 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.006809, allocations: 291.3 kB / 0.8184 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.006817, allocations: 4.188 kB / 0.8184 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006827, allocations: 8.969 kB / 0.8184 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.006859, allocations: 7.984 kB / 0.8184 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.006911, allocations: 12.36 kB / 0.8184 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.006917, allocations: 4 kB / 0.8184 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.006964, allocations: 139.7 kB / 0.8186 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006964, allocations: 0.5625 kB / 0.8186 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000207/0.007171, allocations: 51.94 kB / 0.8186 GB, free: 9.148 MB / 0.7292 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.0001891/0.00736, allocations: 164.2 kB / 0.8188 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.007545, allocations: 264.6 kB / 0.819 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007546, allocations: 0 / 0.819 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.007611, allocations: 113.4 kB / 0.8191 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.007762, allocations: 10.78 kB / 0.8191 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.00803, allocations: 191.3 kB / 0.8193 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.008065, allocations: 59.34 kB / 0.8194 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.008084, allocations: 5 kB / 0.8194 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.00814, allocations: 78.19 kB / 0.8195 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.00814, allocations: 0 / 0.8195 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of Templates: time 0.003235/0.01138, allocations: 2.025 MB / 0.8214 GB, free: 6.184 MB / 0.7292 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: 4.80591242108494]