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.0009132/0.0009132, allocations: 80.8 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.001028/0.001028, 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.953/0.953, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.864/1.864, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.162e-06/1.162e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.002e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002018/0.002038, allocations: 1.546 MB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003065, allocations: 0.8167 MB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.003094, allocations: 0.9844 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.003156, allocations: 3.938 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.00321, allocations: 2.922 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.003694, allocations: 160.2 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.874e-05/0.003793, allocations: 43.89 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.003851, allocations: 4 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.003898, allocations: 26.03 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.003942, allocations: 17.19 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.003954, allocations: 4.75 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.004264, allocations: 239.1 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.004301, allocations: 10.19 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.004328, allocations: 17.73 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.004554, allocations: 225.1 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004557, allocations: 0 / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004558, allocations: 0 / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004562, allocations: 1.469 kB / 0.7631 GB, free: 3.484 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.0003177/0.00488, allocations: 332 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.004909, allocations: 8.031 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.004938, allocations: 6.188 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.005019, allocations: 117.7 kB / 0.7636 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.005029, allocations: 4.375 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.005037, allocations: 4.375 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.005162, allocations: 105.9 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.005168, allocations: 192 / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005175, allocations: 384 / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00518, allocations: 4.5 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.005215, allocations: 52.88 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.005413, allocations: 152.3 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.005471, allocations: 68.25 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.005504, allocations: 54.62 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.005515, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.005532, allocations: 30.56 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.005533, allocations: 0 / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001645/0.005697, allocations: 182.6 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.005724, allocations: 83.89 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.005787, allocations: 122.6 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.006e-06/0.005796, allocations: 25.7 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.005825, allocations: 92.11 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.005836, allocations: 3.953 kB / 0.7645 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.005867, allocations: 21.72 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.005937, allocations: 322.8 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.00599, allocations: 78.22 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.006028, allocations: 80.73 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.006114, allocations: 136.8 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006116, allocations: 0 / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001153/0.006231, allocations: 205.1 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.006267, allocations: 63.39 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006271, allocations: 0.625 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.006284, allocations: 6.875 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.00633, allocations: 0 / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006334, allocations: 4 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.006365, allocations: 11.89 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.006374, allocations: 0 / 0.7654 GB, free: 0.8672 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.333e-05/0.006457, allocations: 146.4 kB / 0.7655 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.006476, allocations: 4 kB / 0.7655 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.006494, allocations: 11.12 kB / 0.7655 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.006496, allocations: 3.938 kB / 0.7655 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006497, allocations: 0 / 0.7655 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.006501, allocations: 3.984 kB / 0.7655 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.006583, allocations: 73.89 kB / 0.7656 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.006586, allocations: 3.984 kB / 0.7656 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.006604, allocations: 4 kB / 0.7656 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006605, allocations: 0 / 0.7656 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006611, allocations: 4 kB / 0.7656 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006613, allocations: 1.812 kB / 0.7656 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006613, allocations: 0 / 0.7656 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006745, allocations: 234.8 kB / 0.7659 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.006751, allocations: 8.125 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006762, allocations: 4 kB / 0.7659 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.006795, allocations: 5.547 kB / 0.7659 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.006834, allocations: 11.92 kB / 0.7659 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006838, allocations: 0 / 0.7659 GB, free: 308 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.559e-05/0.006853, allocations: 20.83 kB / 0.7659 GB, free: 284 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006854, allocations: 1.281 kB / 0.7659 GB, free: 284 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000197/0.007051, allocations: 55.94 kB / 0.766 GB, free: 228 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.000194/0.007244, allocations: 149.5 kB / 0.7661 GB, free: 72 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.007663, allocations: 260.7 kB / 0.7663 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.007666, allocations: 4.812 kB / 0.7664 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.007722, allocations: 112.8 kB / 0.7665 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.007829, allocations: 4.688 kB / 0.7665 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.008065, allocations: 186.4 kB / 0.7666 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.008097, allocations: 63.34 kB / 0.7667 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.008114, allocations: 0 / 0.7667 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.008165, allocations: 64.45 kB / 0.7668 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.008165, allocations: 0 / 0.7668 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.003339/0.0115, allocations: 1.992 MB / 0.7687 GB, free: 13.39 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 -s gbode -gbm=radauIIA3 -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.686581280082464]