Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009529/0.0009531, allocations: 91.69 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 180 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.681/2.681, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 12 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7873, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001569/0.7889, allocations: 1.152 MB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.7902, allocations: 0.7949 MB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.7903, allocations: 1.031 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.76e-05/0.7903, allocations: 3.938 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.7904, allocations: 2.062 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.7909, allocations: 129 kB / 0.9578 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.791, allocations: 44.25 kB / 0.9578 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.7911, allocations: 7.344 kB / 0.9578 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.7912, allocations: 14.67 kB / 0.9578 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.7912, allocations: 18.33 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.7912, allocations: 0.875 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.7915, allocations: 191.2 kB / 0.958 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.7916, allocations: 7.562 kB / 0.958 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.7916, allocations: 42.97 kB / 0.9581 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.7918, allocations: 129.4 kB / 0.9582 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7918, allocations: 0 / 0.9582 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7918, allocations: 4 kB / 0.9582 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.7918, allocations: 1.156 kB / 0.9582 GB, free: 5.828 MB / 0.7169 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.0004383/0.7923, allocations: 432.4 kB / 0.9586 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7923, allocations: 9.031 kB / 0.9586 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.7924, allocations: 3.469 kB / 0.9586 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.7925, allocations: 176.2 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.7925, allocations: 5.844 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.7925, allocations: 6.438 kB / 0.9588 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.7927, allocations: 80.06 kB / 0.9589 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.7928, allocations: 0 / 0.9589 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.7928, allocations: 5.219 kB / 0.9589 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7928, allocations: 0 / 0.9589 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.7929, allocations: 53.16 kB / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.7933, allocations: 281.2 kB / 0.9592 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.7934, allocations: 62.64 kB / 0.9593 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.7935, allocations: 44.95 kB / 0.9593 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.7935, allocations: 0 / 0.9593 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.7935, allocations: 36 kB / 0.9593 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.7936, allocations: 4 kB / 0.9593 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004066/0.794, allocations: 194.1 kB / 0.9595 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.794, allocations: 86.89 kB / 0.9596 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.7941, allocations: 123.2 kB / 0.9597 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.7941, allocations: 27.42 kB / 0.9598 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.7942, allocations: 86.23 kB / 0.9598 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.7942, allocations: 13.89 kB / 0.9598 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.7942, allocations: 13.69 kB / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.7943, allocations: 318.8 kB / 0.9602 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.7944, allocations: 62.23 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.7945, allocations: 59.72 kB / 0.9603 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.7947, allocations: 200 kB / 0.9605 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7947, allocations: 1.375 kB / 0.9605 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002553/0.7949, allocations: 219.7 kB / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.795, allocations: 67.64 kB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.795, allocations: 5.312 kB / 0.9608 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.795, allocations: 0 / 0.9608 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.7951, allocations: 4.125 kB / 0.9608 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7951, allocations: 0 / 0.9608 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.7952, allocations: 18.8 kB / 0.9608 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.7952, allocations: 2.75 kB / 0.9608 GB, free: 3.445 MB / 0.7169 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 8.245e-05/0.7953, allocations: 154.3 kB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.7953, allocations: 8.031 kB / 0.9609 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.7953, allocations: 5.281 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7953, allocations: 0 / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7953, allocations: 0 / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7953, allocations: 1.375 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.7955, allocations: 181.8 kB / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7955, allocations: 1.375 kB / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.7955, allocations: 4.125 kB / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7955, allocations: 0 / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.7955, allocations: 1.375 kB / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7955, allocations: 0 / 0.9611 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7955, allocations: 5.359 kB / 0.9611 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.7958, allocations: 266.9 kB / 0.9614 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.7958, allocations: 78.48 kB / 0.9615 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.7958, allocations: 1.375 kB / 0.9615 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.7959, allocations: 9.562 kB / 0.9615 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.796, allocations: 6.734 kB / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.796, allocations: 1.375 kB / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.7961, allocations: 100.1 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7961, allocations: 32 / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.7964, allocations: 60.11 kB / 0.9616 GB, free: 2.629 MB / 0.7169 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.0002608/0.7967, allocations: 153 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.797, allocations: 244.2 kB / 0.962 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.797, allocations: 0 / 0.962 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.7971, allocations: 113.3 kB / 0.9621 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.7974, allocations: 7.406 kB / 0.9621 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.7977, allocations: 211.4 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.7979, allocations: 0.6861 MB / 0.963 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.7979, allocations: 8.438 kB / 0.963 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7979, allocations: 0 / 0.963 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of Templates: time 0.003254/0.8012, allocations: 1.491 MB / 0.9645 GB, free: 0.5977 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches