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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00775/0.007749, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001904/0.001904, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.801, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002667/0.8037, allocations: 1.44 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.805, allocations: 0.7756 MB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.8051, allocations: 0.8438 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.504e-05/0.8052, allocations: 1.766 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.8052, allocations: 5.109 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.8059, allocations: 171.2 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.806, allocations: 51.59 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.8061, allocations: 12.53 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.8062, allocations: 13.27 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.8062, allocations: 19.36 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.8062, allocations: 2.969 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.8066, allocations: 206 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.8067, allocations: 7.156 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.8067, allocations: 22.88 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.8071, allocations: 188.8 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8071, allocations: 4.641 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8071, allocations: 1 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.8071, allocations: 4 kB / 1.091 GB, free: 3.738 MB / 0.8575 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.000464/0.8076, allocations: 435 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.8076, allocations: 8.906 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.8077, allocations: 3.562 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.8078, allocations: 173.1 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.8078, allocations: 2.031 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8078, allocations: 6.625 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.808, allocations: 73.05 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.808, allocations: 4 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.808, allocations: 4.766 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.808, allocations: 0.7812 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.8082, allocations: 50.09 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.8086, allocations: 274.1 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.8087, allocations: 64.11 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8088, allocations: 50.06 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.8088, allocations: 0.8125 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8089, allocations: 32.89 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8089, allocations: 0 / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004076/0.8093, allocations: 182.5 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.8093, allocations: 88.02 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.8094, allocations: 122.5 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.8094, allocations: 30.53 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.8095, allocations: 96.67 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.8095, allocations: 14.34 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.8095, allocations: 22.3 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.8096, allocations: 317.7 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.8097, allocations: 61.69 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.8098, allocations: 58.66 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.8101, allocations: 193.7 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8101, allocations: 0 / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000308/0.8104, allocations: 217.5 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.8105, allocations: 66.81 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8105, allocations: 0 / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8105, allocations: 0.6875 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.8106, allocations: 4.875 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.8106, allocations: 0.75 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.8106, allocations: 10.08 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.8106, allocations: 6.234 kB / 1.093 GB, free: 1.516 MB / 0.8575 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.348e-05/0.8107, allocations: 155 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.8108, allocations: 2.781 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.8108, allocations: 6.141 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8108, allocations: 1 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.8108, allocations: 0.7969 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8108, allocations: 0.8438 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.811, allocations: 174.1 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.811, allocations: 0 / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.811, allocations: 8.125 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.811, allocations: 0.875 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8111, allocations: 2.609 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8111, allocations: 0 / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8111, allocations: 0.8125 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.8114, allocations: 256 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.8114, allocations: 86.73 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.8114, allocations: 10.67 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.8115, allocations: 4.609 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.8117, allocations: 9.25 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.8117, allocations: 2.078 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.8117, allocations: 99.27 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8118, allocations: 0 / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004081/0.8122, allocations: 66.14 kB / 1.094 GB, free: 0.7383 MB / 0.8575 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.0003086/0.8125, allocations: 148.2 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.8129, allocations: 242.7 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8129, allocations: 0 / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.8131, allocations: 107.3 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.8133, allocations: 3.766 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.8137, allocations: 181.1 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.814, allocations: 0.689 MB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.8141, allocations: 5.812 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.8141, allocations: 8.25 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8141, allocations: 0 / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.005909/0.82, allocations: 1.754 MB / 1.097 GB, free: 15.41 MB / 0.8731 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/jenkins/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