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.001062/0.001062, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001061/0.001061, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9913/0.9913, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.823/1.823, allocations: 377.9 MB / 0.6236 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] 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.222e-06/1.222e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.19e-05, allocations: 9.797 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001958/0.00198, allocations: 1.492 MB / 0.813 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003092, allocations: 0.8166 MB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.003127, allocations: 0 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.279e-05/0.0032, allocations: 3.938 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.003251, allocations: 0.6875 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.003818, allocations: 177.1 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.003917, allocations: 52.8 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.003997, allocations: 4 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.004046, allocations: 20.73 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.004092, allocations: 19.91 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004107, allocations: 4.844 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.004363, allocations: 207.7 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.004406, allocations: 9.25 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.004442, allocations: 15.92 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.004687, allocations: 227.4 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004689, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00469, allocations: 1.969 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004694, allocations: 0 / 0.8145 GB, free: 14.64 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.000431/0.005125, allocations: 455.6 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.005165, allocations: 12.03 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.005209, allocations: 4.938 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.423e-05/0.005303, allocations: 121.5 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005314, allocations: 384 / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.005331, allocations: 10 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.00551, allocations: 112.6 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005519, allocations: 192 / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005529, allocations: 384 / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.00554, allocations: 3.938 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.005596, allocations: 63.22 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.005996, allocations: 271.8 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.006085, allocations: 84.69 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.006146, allocations: 75.03 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.006163, allocations: 0 / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.006192, allocations: 37.33 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.006193, allocations: 4 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002816/0.006474, allocations: 223.6 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.006511, allocations: 77.11 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006611, allocations: 185.8 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.006623, allocations: 31.33 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.006762, allocations: 142.8 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.006777, allocations: 3.953 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.006811, allocations: 27.38 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.006914, allocations: 0.4929 MB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.006979, allocations: 95.38 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.007039, allocations: 100.1 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.007151, allocations: 172.8 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007154, allocations: 0.625 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.007321, allocations: 241.5 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.00736, allocations: 73.98 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007366, allocations: 3.938 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.00738, allocations: 0.5312 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.00744, allocations: 5.344 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007445, allocations: 0 / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.007468, allocations: 11.89 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.007478, allocations: 4 kB / 0.8176 GB, free: 11.21 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 7.698e-05/0.007555, allocations: 187.4 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.007573, allocations: 7.938 kB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.007594, allocations: 8.766 kB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007596, allocations: 4 kB / 0.8177 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.007601, allocations: 8.891 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007604, allocations: 0 / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007715, allocations: 125.4 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007716, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.007732, allocations: 4.938 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007733, allocations: 0 / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.007743, allocations: 7.938 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007745, allocations: 5.344 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007746, allocations: 0 / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.007932, allocations: 315.2 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.007941, allocations: 8.703 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.007954, allocations: 3.938 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.007986, allocations: 9.922 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.008052, allocations: 4 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008057, allocations: 7.938 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.008099, allocations: 131.2 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008099, allocations: 0 / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002128/0.008311, allocations: 60.73 kB / 0.8184 GB, free: 10.25 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.0002055/0.008517, allocations: 162.5 kB / 0.8186 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.00876, allocations: 299.5 kB / 0.8189 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008761, allocations: 0 / 0.8189 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.008836, allocations: 132.7 kB / 0.819 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.009002, allocations: 4.766 kB / 0.819 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.009317, allocations: 203.9 kB / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.009357, allocations: 59.22 kB / 0.8192 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.009376, allocations: 4.609 kB / 0.8192 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.0094, allocations: 17 kB / 0.8193 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.009401, allocations: 0.7812 kB / 0.8193 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of Templates: time 0.003383/0.01278, allocations: 1.814 MB / 0.821 GB, free: 7.504 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.275042030960321]