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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.991/1.991, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 193.2 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.4 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 97.61 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7366/1.024, allocations: 150.7 MB / 1.359 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.024, allocations: 96.38 kB / 1.359 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009209/1.033, allocations: 2.946 MB / 1.362 GB, free: 17.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.033, allocations: 1.062 kB / 1.362 GB, free: 17.29 MB / 0.823 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.0003878/1.033, allocations: 422.5 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.033, allocations: 9.875 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/1.034, allocations: 5.812 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.034, allocations: 171.9 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.034, allocations: 1.375 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/1.034, allocations: 3.203 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/1.034, allocations: 37.31 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.034, allocations: 69.19 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.034, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.034, allocations: 5.094 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.034, allocations: 0.875 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/1.034, allocations: 263.4 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/1.034, allocations: 56.75 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/1.034, allocations: 39.73 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/1.035, allocations: 6.516 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/1.035, allocations: 35.78 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.035, allocations: 3.938 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002558/1.035, allocations: 106 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/1.035, allocations: 79.36 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.035, allocations: 114.3 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/1.035, allocations: 26.8 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/1.035, allocations: 94.97 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/1.035, allocations: 9 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.035, allocations: 1.125 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.035, allocations: 317.7 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/1.035, allocations: 51.47 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/1.035, allocations: 58.39 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.035, allocations: 53.31 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.035, allocations: 0 / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002271/1.036, allocations: 147.2 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.036, allocations: 4.812 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.036, allocations: 4 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.036, allocations: 1.281 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/1.036, allocations: 9.5 kB / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.036, allocations: 0 / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/1.036, allocations: 12.11 kB / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.036, allocations: 5.906 kB / 1.364 GB, free: 31.58 MB / 0.8386 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 () * 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 8.86e-05/1.036, allocations: 136.2 kB / 1.364 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/1.036, allocations: 7.5 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/1.036, allocations: 5.031 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.036, allocations: 1 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.036, allocations: 2.141 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.036, allocations: 1.125 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/1.036, allocations: 148.3 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.036, allocations: 3.938 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/1.036, allocations: 8.812 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/1.036, allocations: 9.125 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.036, allocations: 5.062 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.036, allocations: 2.688 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.036, allocations: 0 / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002172/1.037, allocations: 207.5 kB / 1.364 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/1.037, allocations: 79.52 kB / 1.364 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/1.037, allocations: 5.969 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/1.037, allocations: 11.84 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.037, allocations: 3.969 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.037, allocations: 6.188 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.906e-05/1.037, allocations: 99.52 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003268/1.037, allocations: 68.92 kB / 1.365 GB, free: 30.93 MB / 0.8386 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) * 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.000287/1.037, allocations: 155.8 kB / 1.365 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002098/1.038, allocations: 160.7 kB / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.038, allocations: 0 / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/1.038, allocations: 71.53 kB / 1.365 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/1.038, allocations: 9.281 kB / 1.365 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/1.038, allocations: 122 kB / 1.365 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/1.039, allocations: 0.6947 MB / 1.366 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/1.039, allocations: 0 / 1.366 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.004238/1.043, allocations: 1.567 MB / 1.367 GB, free: 29.85 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches