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.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001638/0.001638, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.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.357/2.357, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.8091, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002886/0.812, allocations: 1.497 MB / 0.9504 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.8135, allocations: 0.8095 MB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.8135, allocations: 1.5 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.576e-05/0.8136, allocations: 3.984 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.8137, allocations: 5.594 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.8143, allocations: 125.2 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.8144, allocations: 36.27 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.8145, allocations: 11.08 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.8145, allocations: 15.11 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.8146, allocations: 17.64 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.8146, allocations: 1.781 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.815, allocations: 187.2 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.815, allocations: 16.05 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.8151, allocations: 16 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.8154, allocations: 185 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8154, allocations: 0 / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8154, allocations: 3.938 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8154, allocations: 1 kB / 0.9518 GB, free: 6.945 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.0004743/0.8159, allocations: 439.3 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.816, allocations: 10.06 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.816, allocations: 7.344 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.8161, allocations: 171 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.8161, allocations: 1.594 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.8162, allocations: 10.53 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.8164, allocations: 78.05 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.8164, allocations: 1.031 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8164, allocations: 1.375 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.8164, allocations: 0 / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.8166, allocations: 48.75 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.817, allocations: 287.2 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.8171, allocations: 57.45 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.8172, allocations: 50.59 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8172, allocations: 0 / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.8173, allocations: 39.88 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8173, allocations: 0 / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004538/0.8177, allocations: 180.7 kB / 0.9531 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.8178, allocations: 83.59 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.8179, allocations: 118.7 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.8179, allocations: 27.14 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.818, allocations: 94.91 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.818, allocations: 12.97 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.818, allocations: 20.44 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.8181, allocations: 325.5 kB / 0.9538 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.8182, allocations: 56.22 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.8184, allocations: 56.66 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.8186, allocations: 193.3 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8186, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003684/0.819, allocations: 220.6 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.8191, allocations: 60.41 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8191, allocations: 0 / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.8191, allocations: 5.203 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.8192, allocations: 2.969 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8192, allocations: 4 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.8193, allocations: 17.22 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.8193, allocations: 2.469 kB / 0.9543 GB, free: 4.559 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.34e-05/0.8194, allocations: 154.8 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.8194, allocations: 2.469 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.8195, allocations: 5.406 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8195, allocations: 1.625 kB / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.8195, allocations: 0 / 0.9545 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8195, allocations: 3.984 kB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.8196, allocations: 175 kB / 0.9547 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.8197, allocations: 0 / 0.9547 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.8197, allocations: 7.016 kB / 0.9547 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8197, allocations: 0 / 0.9547 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8197, allocations: 6.688 kB / 0.9547 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.8197, allocations: 3.938 kB / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8197, allocations: 0 / 0.9547 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.82, allocations: 251.1 kB / 0.9549 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.8201, allocations: 79.48 kB / 0.955 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.8201, allocations: 1.25 kB / 0.955 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.8202, allocations: 7.938 kB / 0.955 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.8203, allocations: 6.562 kB / 0.955 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.8204, allocations: 10.3 kB / 0.955 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.8204, allocations: 97.98 kB / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8204, allocations: 0 / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004598/0.8209, allocations: 53.88 kB / 0.9552 GB, free: 3.754 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.0003542/0.8213, allocations: 159.8 kB / 0.9553 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.8216, allocations: 240.5 kB / 0.9556 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8217, allocations: 5.031 kB / 0.9556 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.8218, allocations: 98.56 kB / 0.9557 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.8221, allocations: 7.344 kB / 0.9557 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.8225, allocations: 190.1 kB / 0.9558 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.8227, allocations: 0.682 MB / 0.9565 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.556e-05/0.8227, allocations: 9.078 kB / 0.9565 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.8227, allocations: 8.625 kB / 0.9565 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.8227, allocations: 0 / 0.9565 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.004217/0.8269, allocations: 1.654 MB / 0.9581 GB, free: 1.664 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/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