Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001359/0.001359, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001261/0.001261, allocations: 165.8 kB / 24.86 MB, free: 8.887 MB / 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.9202/0.9202, allocations: 177.1 MB / 205.3 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.534e-05, allocations: 5.266 kB / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001811/0.001826, allocations: 1.503 MB / 0.7898 GB, free: 10.69 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.002816, allocations: 0.7962 MB / 0.7906 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.002849, allocations: 4 kB / 0.7906 GB, free: 9.883 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 6.8e-05/0.002917, allocations: 3.938 kB / 0.7906 GB, free: 9.879 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.002971, allocations: 5.156 kB / 0.7906 GB, free: 9.875 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.003519, allocations: 177.1 kB / 0.7908 GB, free: 9.703 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003621, allocations: 47.89 kB / 0.7908 GB, free: 9.656 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 6.328e-05/0.003685, allocations: 0.6562 kB / 0.7908 GB, free: 9.656 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.003729, allocations: 23.98 kB / 0.7908 GB, free: 9.633 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.003775, allocations: 17.56 kB / 0.7908 GB, free: 9.617 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.003788, allocations: 4 kB / 0.7908 GB, free: 9.613 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.00405, allocations: 219.6 kB / 0.7911 GB, free: 9.398 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.004086, allocations: 4 kB / 0.7911 GB, free: 9.395 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.004112, allocations: 19.41 kB / 0.7911 GB, free: 9.379 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.004334, allocations: 219.4 kB / 0.7913 GB, free: 9.164 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004336, allocations: 4 kB / 0.7913 GB, free: 9.16 MB / 0.7449 GB Notification: Performance of FrontEnd: time 6.32e-07/0.004336, allocations: 0 / 0.7913 GB, free: 9.16 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.00434, allocations: 0 / 0.7913 GB, free: 9.16 MB / 0.7449 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.0003597/0.004699, allocations: 459.6 kB / 0.7917 GB, free: 8.664 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.004731, allocations: 12.03 kB / 0.7917 GB, free: 8.652 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.00476, allocations: 4.938 kB / 0.7917 GB, free: 8.648 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.004837, allocations: 124.4 kB / 0.7919 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.004846, allocations: 1.094 kB / 0.7919 GB, free: 8.5 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.004854, allocations: 4.375 kB / 0.7919 GB, free: 8.496 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004965, allocations: 102.3 kB / 0.792 GB, free: 8.383 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.00497, allocations: 4.125 kB / 0.792 GB, free: 8.379 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.004977, allocations: 384 / 0.792 GB, free: 8.379 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004981, allocations: 3.938 kB / 0.792 GB, free: 8.375 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.005017, allocations: 50.72 kB / 0.792 GB, free: 8.32 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.005243, allocations: 244.4 kB / 0.7923 GB, free: 8.055 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.005302, allocations: 73.66 kB / 0.7923 GB, free: 7.965 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.005337, allocations: 57.45 kB / 0.7924 GB, free: 7.898 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.005347, allocations: 0 / 0.7924 GB, free: 7.898 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.005366, allocations: 42.67 kB / 0.7924 GB, free: 7.848 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.005367, allocations: 0 / 0.7924 GB, free: 7.848 MB / 0.7449 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.005557, allocations: 190.6 kB / 0.7926 GB, free: 7.637 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.005589, allocations: 82.08 kB / 0.7927 GB, free: 7.539 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.005666, allocations: 173.9 kB / 0.7928 GB, free: 7.352 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005677, allocations: 29.7 kB / 0.7929 GB, free: 7.316 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.005721, allocations: 135.8 kB / 0.793 GB, free: 7.18 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.005734, allocations: 7.906 kB / 0.793 GB, free: 7.172 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.005767, allocations: 32.45 kB / 0.793 GB, free: 7.133 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.005879, allocations: 0.4923 MB / 0.7935 GB, free: 6.629 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.005926, allocations: 79.39 kB / 0.7936 GB, free: 6.539 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.005966, allocations: 80.83 kB / 0.7937 GB, free: 6.449 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.006084, allocations: 148.8 kB / 0.7938 GB, free: 6.281 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006086, allocations: 0 / 0.7938 GB, free: 6.281 MB / 0.7449 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001856/0.006271, allocations: 200.5 kB / 0.794 GB, free: 6.055 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.006307, allocations: 63.94 kB / 0.7941 GB, free: 5.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006312, allocations: 3.938 kB / 0.7941 GB, free: 5.977 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.00632, allocations: 4.531 kB / 0.7941 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.714e-05/0.006367, allocations: 8.516 kB / 0.7941 GB, free: 5.965 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006369, allocations: 0.7812 kB / 0.7941 GB, free: 5.965 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.006394, allocations: 11.89 kB / 0.7941 GB, free: 5.953 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.006402, allocations: 0.9062 kB / 0.7941 GB, free: 5.953 MB / 0.7449 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 7.545e-05/0.006477, allocations: 194.2 kB / 0.7943 GB, free: 5.746 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.006497, allocations: 4.531 kB / 0.7943 GB, free: 5.742 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.006514, allocations: 13.3 kB / 0.7943 GB, free: 5.73 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.006515, allocations: 0 / 0.7943 GB, free: 5.73 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.006517, allocations: 0 / 0.7943 GB, free: 5.73 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.006519, allocations: 4 kB / 0.7943 GB, free: 5.727 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.006613, allocations: 110.5 kB / 0.7944 GB, free: 5.594 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.006614, allocations: 0 / 0.7944 GB, free: 5.594 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.006625, allocations: 0 / 0.7944 GB, free: 5.594 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.006626, allocations: 0 / 0.7944 GB, free: 5.594 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.006632, allocations: 4.656 kB / 0.7944 GB, free: 5.59 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006633, allocations: 0.7188 kB / 0.7944 GB, free: 5.59 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.006635, allocations: 7.922 kB / 0.7944 GB, free: 5.582 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.006784, allocations: 284.3 kB / 0.7947 GB, free: 5.273 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.00679, allocations: 3.953 kB / 0.7947 GB, free: 5.27 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.006808, allocations: 8.938 kB / 0.7947 GB, free: 5.262 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.006841, allocations: 11.91 kB / 0.7947 GB, free: 5.25 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.00688, allocations: 7.938 kB / 0.7947 GB, free: 5.242 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.006884, allocations: 1.219 kB / 0.7947 GB, free: 5.242 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.006919, allocations: 131.6 kB / 0.7949 GB, free: 5.113 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.006919, allocations: 0 / 0.7949 GB, free: 5.113 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002091/0.007128, allocations: 64.77 kB / 0.7949 GB, free: 5.051 MB / 0.7449 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.0001779/0.007306, allocations: 163.2 kB / 0.7951 GB, free: 4.887 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.007481, allocations: 271.5 kB / 0.7953 GB, free: 4.574 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007482, allocations: 3.938 kB / 0.7953 GB, free: 4.57 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.007543, allocations: 112.8 kB / 0.7954 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.007711, allocations: 7.453 kB / 0.7954 GB, free: 4.434 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.007959, allocations: 195.7 kB / 0.7956 GB, free: 4.207 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.007992, allocations: 63.34 kB / 0.7957 GB, free: 4.125 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.363e-05/0.008006, allocations: 0 / 0.7957 GB, free: 4.125 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.008058, allocations: 78.2 kB / 0.7958 GB, free: 4.047 MB / 0.7449 GB Notification: Performance of SimCode: time 5.01e-07/0.008059, allocations: 0 / 0.7958 GB, free: 4.047 MB / 0.7449 GB Notification: Performance of Templates: time 0.003228/0.01129, allocations: 2.042 MB / 0.7978 GB, free: 2.066 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.798728866968304]