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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001064/0.001064, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00146/0.00146, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003233, allocations: 11.69 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001459/0.2469, allocations: 1.152 MB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2481, allocations: 0.7408 MB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.2481, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.2482, allocations: 3.938 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.2482, allocations: 0 / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.2488, allocations: 127.8 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.2489, allocations: 35.84 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.2489, allocations: 7.984 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.249, allocations: 23.92 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.249, allocations: 11.98 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2491, allocations: 4 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.2494, allocations: 175.7 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.2494, allocations: 7.938 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.2494, allocations: 33.7 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2496, allocations: 131.8 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2496, allocations: 0 / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2496, allocations: 0 / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2496, allocations: 4 kB / 1.06 GB, free: 2.816 MB / 0.8106 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.0004185/0.2501, allocations: 418.9 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2501, allocations: 8.031 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2502, allocations: 11.89 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2503, allocations: 167 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2503, allocations: 11.94 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2503, allocations: 0 / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2505, allocations: 77.66 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2505, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.2505, allocations: 4 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2505, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2507, allocations: 51.97 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.251, allocations: 276.9 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2511, allocations: 66.48 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.2512, allocations: 56.84 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.2513, allocations: 3.938 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2513, allocations: 30.56 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.2513, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003733/0.2517, allocations: 195.2 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2517, allocations: 81.05 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.2518, allocations: 133.8 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2518, allocations: 25.7 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.2519, allocations: 88.12 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2519, allocations: 15.84 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2519, allocations: 0 / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.252, allocations: 326.8 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.2521, allocations: 55.97 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.2522, allocations: 59.97 kB / 1.062 GB, free: 472 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.2524, allocations: 123.4 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2524, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002765/0.2527, allocations: 216.9 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.2527, allocations: 68.34 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2527, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2527, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.2528, allocations: 7.984 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2528, allocations: 3.938 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.2529, allocations: 8 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2529, allocations: 0 / 1.063 GB, free: 0 / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.253, allocations: 155.5 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.253, allocations: 7.906 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.2531, allocations: 3.906 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2531, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2531, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2531, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2532, allocations: 173.6 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2533, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.2533, allocations: 11.92 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2533, allocations: 0 / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2533, allocations: 8 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2533, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2533, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2536, allocations: 257.3 kB / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.2536, allocations: 85.05 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2537, allocations: 0 / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.2537, allocations: 12.02 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.2538, allocations: 8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.2539, allocations: 4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.2539, allocations: 99.19 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2539, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003181/0.2542, allocations: 60 kB / 1.064 GB, free: 15.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.2545, allocations: 147.2 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.2548, allocations: 242.7 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2548, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2549, allocations: 107.4 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2552, allocations: 0 / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.2555, allocations: 192.6 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.2557, allocations: 0.6886 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.2558, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.2558, allocations: 11.44 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2558, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.003913/0.2597, allocations: 1.627 MB / 1.067 GB, free: 11.96 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