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.002268/0.002268, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002618/0.002618, allocations: 157.7 kB / 23.54 MB, free: 0.8711 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 1.684/1.684, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.006/3.006, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.315e-06/2.315e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.812e-05/5.044e-05, allocations: 7.344 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.005107/0.005158, allocations: 1.463 MB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.007537, allocations: 0.7805 MB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.007589, allocations: 0 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.00771, allocations: 8.594 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.007785, allocations: 1.25 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.008955, allocations: 185.2 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.009156, allocations: 43.91 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.009264, allocations: 0 / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.009356, allocations: 21.05 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.009451, allocations: 27.89 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.009477, allocations: 4 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.01013, allocations: 208.3 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.01021, allocations: 11.92 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.01027, allocations: 16.61 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.01092, allocations: 236.7 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.01093, allocations: 0 / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.214e-06/0.01093, allocations: 0 / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.01094, allocations: 0 / 0.8138 GB, free: 15.08 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.0009038/0.01184, allocations: 363.5 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.0119, allocations: 8.031 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.01198, allocations: 4.938 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.01218, allocations: 117.7 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.0122, allocations: 4.375 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.01222, allocations: 1.156 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.01259, allocations: 115.9 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.0126, allocations: 0.8438 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.01262, allocations: 384 / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.01263, allocations: 4.656 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.01285, allocations: 79.12 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.01344, allocations: 212.6 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.01367, allocations: 88.19 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.01386, allocations: 80.14 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.01388, allocations: 0 / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.01394, allocations: 34.5 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.01394, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000744/0.01468, allocations: 248.5 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.01477, allocations: 77.11 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.01497, allocations: 125.8 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.015, allocations: 26.83 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01511, allocations: 92.08 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.01514, allocations: 15.89 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.01521, allocations: 23.12 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.01547, allocations: 314.8 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.0157, allocations: 119.4 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.01593, allocations: 119.4 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.01635, allocations: 195 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01636, allocations: 0 / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005685/0.01692, allocations: 281 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.01703, allocations: 68.14 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01703, allocations: 0 / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.01706, allocations: 0.875 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.01716, allocations: 8.172 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.01717, allocations: 4.469 kB / 0.8165 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.01724, allocations: 13.31 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01725, allocations: 8 kB / 0.8165 GB, free: 11.99 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 0.0001539/0.01741, allocations: 139.5 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.01746, allocations: 21.19 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.01749, allocations: 4 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01749, allocations: 0 / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.0175, allocations: 8.969 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.0175, allocations: 0 / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.01769, allocations: 109.3 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01769, allocations: 0.8438 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.01773, allocations: 7.984 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01774, allocations: 1.344 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01775, allocations: 3.938 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01775, allocations: 0 / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01775, allocations: 4 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.01819, allocations: 280 kB / 0.817 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.01821, allocations: 11.94 kB / 0.8171 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01823, allocations: 9.719 kB / 0.8171 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.01831, allocations: 4 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.01849, allocations: 7.984 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01849, allocations: 0 / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.364e-05/0.01859, allocations: 95.27 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01859, allocations: 0.875 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004314/0.01902, allocations: 59.88 kB / 0.8172 GB, free: 11.17 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.0004441/0.01946, allocations: 162.6 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.02, allocations: 319.8 kB / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02, allocations: 0 / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.02021, allocations: 140.9 kB / 0.8178 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.02049, allocations: 5.688 kB / 0.8178 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.02116, allocations: 222.6 kB / 0.818 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.02127, allocations: 72.2 kB / 0.8181 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.02131, allocations: 5.094 kB / 0.8181 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.02134, allocations: 8.5 kB / 0.8181 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.02134, allocations: 0 / 0.8181 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.006729/0.02807, allocations: 1.795 MB / 0.8199 GB, free: 8.406 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.928803836926818]