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.001481/0.001481, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.00118/0.00118, allocations: 165 kB / 24.17 MB, free: 328 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.9332/0.9332, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.766/1.766, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 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.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.248e-05, allocations: 2.312 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002867/0.00289, allocations: 1.504 MB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004339, allocations: 0.8175 MB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.00437, allocations: 0 / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.105e-05/0.004441, allocations: 7.984 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.004496, allocations: 5.203 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.00517, allocations: 178.7 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.005279, allocations: 43.27 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.00534, allocations: 3.984 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.0054, allocations: 30.61 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.005451, allocations: 14.64 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.005471, allocations: 4 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.005838, allocations: 216.3 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.005879, allocations: 10.52 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.005909, allocations: 13.75 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.006222, allocations: 223.9 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006224, allocations: 4 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006225, allocations: 0 / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.006228, allocations: 1.781 kB / 0.763 GB, free: 3.57 MB / 0.7136 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.0003956/0.006624, allocations: 331.9 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.006656, allocations: 8.031 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.00669, allocations: 4.938 kB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.00678, allocations: 121.7 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.006792, allocations: 1.125 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.006806, allocations: 4.375 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006962, allocations: 97.39 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.00697, allocations: 1.438 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.00698, allocations: 8.359 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006986, allocations: 3.938 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.007041, allocations: 45.62 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.007282, allocations: 165.2 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.241e-05/0.007375, allocations: 64.27 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.007424, allocations: 47.41 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.007434, allocations: 0 / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.007459, allocations: 39.5 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.00746, allocations: 0 / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002291/0.00769, allocations: 175.2 kB / 0.7641 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.00773, allocations: 77.83 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.007814, allocations: 134.6 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.007828, allocations: 26.95 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.007864, allocations: 88.12 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.007878, allocations: 3.953 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.007921, allocations: 21.7 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.008007, allocations: 317.6 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.008086, allocations: 82.22 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.00814, allocations: 79.39 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.008262, allocations: 144.7 kB / 0.765 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008264, allocations: 3.938 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.008432, allocations: 188.5 kB / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.008474, allocations: 67.39 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.008478, allocations: 2.406 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.008493, allocations: 3.938 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.008544, allocations: 4 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.008547, allocations: 0 / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.008586, allocations: 15.88 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.008599, allocations: 8.062 kB / 0.7653 GB, free: 0.9453 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 8.322e-05/0.008682, allocations: 139.1 kB / 0.7654 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.008713, allocations: 12.95 kB / 0.7655 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.008733, allocations: 4 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008736, allocations: 3.938 kB / 0.7655 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008737, allocations: 0.5 kB / 0.7655 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.008741, allocations: 6.531 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.008867, allocations: 73.88 kB / 0.7655 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008868, allocations: 3.938 kB / 0.7655 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.008897, allocations: 4 kB / 0.7655 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008899, allocations: 0 / 0.7655 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008907, allocations: 0 / 0.7655 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.008908, allocations: 4 kB / 0.7655 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008909, allocations: 2.438 kB / 0.7655 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.009091, allocations: 226.9 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.009103, allocations: 11.94 kB / 0.7658 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.009117, allocations: 0 / 0.7658 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.009187, allocations: 4 kB / 0.7658 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.00923, allocations: 7.938 kB / 0.7658 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.009238, allocations: 5.953 kB / 0.7658 GB, free: 396 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.009265, allocations: 20.83 kB / 0.7658 GB, free: 372 kB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.009265, allocations: 0 / 0.7658 GB, free: 372 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002941/0.009559, allocations: 59.92 kB / 0.7659 GB, free: 312 kB / 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.0002421/0.009801, allocations: 153.2 kB / 0.766 GB, free: 152 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.01005, allocations: 261.7 kB / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.01005, allocations: 0 / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.01014, allocations: 116.8 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.01029, allocations: 6.844 kB / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.01061, allocations: 184.9 kB / 0.7666 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.01065, allocations: 59.34 kB / 0.7666 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.01067, allocations: 4 kB / 0.7666 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.01074, allocations: 55.38 kB / 0.7667 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.01074, allocations: 6.375 kB / 0.7667 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.004616/0.01535, allocations: 1.983 MB / 0.7686 GB, free: 13.48 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.748037659097463]