Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001491/0.001491, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001718/0.001718, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 71.78 kB / 0.9088 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3498, allocations: 159.1 MB / 1.064 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002706/0.3525, allocations: 1.436 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3539, allocations: 0.7792 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.3539, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.364e-05/0.354, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.3541, allocations: 7.938 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.3547, allocations: 171.6 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.692e-05/0.3548, allocations: 43.92 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.3549, allocations: 8 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.355, allocations: 19.92 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.355, allocations: 15.92 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.355, allocations: 7.984 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.3553, allocations: 203.7 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.3554, allocations: 4 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3555, allocations: 27.8 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3557, allocations: 187.9 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3557, allocations: 4 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3557, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3557, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 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.0004984/0.3562, allocations: 430.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3563, allocations: 8.031 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.3563, allocations: 8.844 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3565, allocations: 172.2 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3565, allocations: 4.375 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3565, allocations: 384 / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3567, allocations: 89.97 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3567, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3567, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3568, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3569, allocations: 43.97 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3573, allocations: 280.9 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3574, allocations: 62.48 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.3575, allocations: 48.91 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3575, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3575, allocations: 34.56 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3575, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003782/0.3579, allocations: 195.1 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.358, allocations: 81.14 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3581, allocations: 125.8 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3581, allocations: 25.7 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.3581, allocations: 84.14 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3582, allocations: 11.84 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3582, allocations: 21.72 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3583, allocations: 318.8 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.3584, allocations: 55.97 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.3585, allocations: 63.95 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3587, allocations: 193.8 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3587, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002645/0.359, allocations: 224.9 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.3591, allocations: 63.39 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3591, allocations: 4 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3591, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.3592, allocations: 3.938 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3592, allocations: 8 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.3592, allocations: 7.984 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3593, allocations: 4 kB / 1.07 GB, free: 9.125 MB / 0.8419 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 9.952e-05/0.3594, allocations: 147.4 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3594, allocations: 11.91 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.3594, allocations: 7.891 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3594, allocations: 0 / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3594, allocations: 4 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3595, allocations: 4 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3596, allocations: 173.6 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3596, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.3597, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3597, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3597, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3597, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3597, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.36, allocations: 253.1 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.36, allocations: 85 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.36, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.3601, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.3602, allocations: 7.984 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3602, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.3603, allocations: 103.6 kB / 1.07 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3603, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003132/0.3606, allocations: 56 kB / 1.07 GB, free: 8.164 MB / 0.8419 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.0002615/0.3609, allocations: 155.8 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3612, allocations: 238.7 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3612, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3613, allocations: 111.2 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3616, allocations: 13.77 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.362, allocations: 203.2 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3622, allocations: 0.6885 MB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.3622, allocations: 7.438 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3622, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of Templates: time 0.003159/0.3654, allocations: 1.506 MB / 1.073 GB, free: 5.164 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches