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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001142/0.001142, allocations: 195 kB / 16.14 MB, free: 6.648 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.75 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002344/0.2639, allocations: 1.508 MB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2651, allocations: 0.8183 MB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.2652, allocations: 0 / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.064e-05/0.2652, allocations: 3.938 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.2653, allocations: 8 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.2658, allocations: 127.2 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.2658, allocations: 35.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.2659, allocations: 7.984 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.2659, allocations: 19.88 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.266, allocations: 23.89 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.266, allocations: 8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.2663, allocations: 183.8 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.2663, allocations: 11.98 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2664, allocations: 15.88 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.2666, allocations: 183.6 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2667, allocations: 3.984 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2667, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2667, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 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.0004545/0.2671, allocations: 431 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2672, allocations: 12.03 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2672, allocations: 4.938 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2673, allocations: 180.2 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2673, allocations: 4.312 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2674, allocations: 4.375 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2675, allocations: 77.97 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2675, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2676, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2676, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2677, allocations: 47.97 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.268, allocations: 276.9 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2682, allocations: 62.48 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.2683, allocations: 44.91 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.2683, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2683, allocations: 38.56 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2683, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003696/0.2687, allocations: 191.2 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.2688, allocations: 81.11 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.2688, allocations: 117.8 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2689, allocations: 25.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.2689, allocations: 92.12 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2689, allocations: 7.844 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.269, allocations: 25.75 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.2691, allocations: 314.8 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2692, allocations: 55.97 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.2693, allocations: 63.95 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.2695, allocations: 201.9 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2695, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002775/0.2698, allocations: 220.9 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.2699, allocations: 67.39 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2699, allocations: 0 / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2699, allocations: 3.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.2699, allocations: 4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.27, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.27, allocations: 4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.27, allocations: 7.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 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.628e-05/0.2701, allocations: 151.5 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.2702, allocations: 7.906 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.2702, allocations: 11.91 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2702, allocations: 3.984 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2702, allocations: 240 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2702, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2704, allocations: 169.6 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2704, allocations: 3.984 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.2704, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2704, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2704, allocations: 8 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2704, allocations: 4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2705, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2707, allocations: 245.1 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.2708, allocations: 85.02 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2708, allocations: 3.984 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.2709, allocations: 4 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.271, allocations: 15.98 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.271, allocations: 4.031 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.271, allocations: 95.27 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.271, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003537/0.2714, allocations: 60 kB / 1.074 GB, free: 3.988 MB / 0.8262 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.0002477/0.2717, allocations: 151.2 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.272, allocations: 234.7 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.272, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.2721, allocations: 111.3 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2723, allocations: 12.48 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.2727, allocations: 183.3 kB / 1.074 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.2729, allocations: 0.6848 MB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.2729, allocations: 3.906 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2729, allocations: 11.5 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2729, allocations: 0 / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.003706/0.2766, allocations: 1.644 MB / 1.077 GB, free: 0.9062 MB / 0.8262 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/jenkins/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