Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 106.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 191.8 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8639, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002602/0.8665, allocations: 1.442 MB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8679, allocations: 0.7722 MB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.8679, allocations: 0 / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.729e-05/0.868, allocations: 3.938 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.868, allocations: 7.938 kB / 1.17 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.8687, allocations: 179.5 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.8688, allocations: 43.97 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.618e-05/0.8689, allocations: 8 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.869, allocations: 15.98 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.869, allocations: 15.92 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.869, allocations: 4 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.8694, allocations: 207.7 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.8694, allocations: 15.92 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.8695, allocations: 15.88 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.8698, allocations: 200.4 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.8698, allocations: 0 / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8698, allocations: 4 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8698, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 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.0005729/0.8704, allocations: 426.5 kB / 1.171 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.8705, allocations: 8.031 kB / 1.171 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.8705, allocations: 8.891 kB / 1.171 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8707, allocations: 176.3 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.8707, allocations: 4.375 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.8707, allocations: 4.375 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.8709, allocations: 89.89 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8709, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.871, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.871, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.8711, allocations: 43.97 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.8715, allocations: 280.9 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.8717, allocations: 54.56 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.8718, allocations: 52.91 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.8718, allocations: 3.938 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8718, allocations: 34.5 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.8719, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004131/0.8723, allocations: 187.3 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.8723, allocations: 77.11 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.8725, allocations: 129.9 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.8725, allocations: 29.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.8726, allocations: 84.14 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.8726, allocations: 11.89 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.8726, allocations: 21.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8728, allocations: 314.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.8729, allocations: 59.95 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.873, allocations: 59.91 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.8733, allocations: 197.8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8733, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003139/0.8736, allocations: 221 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.8737, allocations: 71.39 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.8737, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8737, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.8738, allocations: 4 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.8738, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.8738, allocations: 11.98 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8739, allocations: 0 / 1.173 GB, free: 14.17 MB / 0.9044 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.0001248/0.874, allocations: 163.3 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.874, allocations: 7.953 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.8741, allocations: 3.906 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8741, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8741, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8741, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.8743, allocations: 173.6 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8743, allocations: 4 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.8743, allocations: 4 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.8743, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8743, allocations: 3.938 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8743, allocations: 7.984 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8744, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.8747, allocations: 249.1 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.8747, allocations: 81.34 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.8747, allocations: 4.031 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.8748, allocations: 7.984 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8749, allocations: 11.92 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8749, allocations: 4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.875, allocations: 95.27 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.875, allocations: 0 / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003147/0.8753, allocations: 59.86 kB / 1.174 GB, free: 13.19 MB / 0.9044 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.0002924/0.8756, allocations: 157.8 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003645/0.876, allocations: 238.7 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.876, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8762, allocations: 99.38 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.8764, allocations: 13.83 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.8768, allocations: 175.6 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.8771, allocations: 0.6885 MB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.8771, allocations: 4 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.8772, allocations: 7.438 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.8772, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.004814/0.882, allocations: 1.759 MB / 1.177 GB, free: 10 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches