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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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") [: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 9.1.1-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001167/0.001167, allocations: 185.2 kB / 487 MB, free: 5.395 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.479/1.479, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 95.44 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.044e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/1.11, allocations: 149.9 MB / 1.352 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.11, allocations: 92.62 kB / 1.352 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01016/1.12, allocations: 2.942 MB / 1.355 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.756e-06/1.12, allocations: 4.875 kB / 1.355 GB, free: 16.05 MB / 0.8073 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.0004315/1.121, allocations: 427.9 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.121, allocations: 9.578 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/1.121, allocations: 3.031 kB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.121, allocations: 173.9 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.121, allocations: 1.75 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/1.121, allocations: 2.469 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/1.121, allocations: 40.78 kB / 1.355 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/1.121, allocations: 70.42 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/1.121, allocations: 0 / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.121, allocations: 0.75 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.121, allocations: 1.438 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/1.122, allocations: 263.3 kB / 1.356 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/1.122, allocations: 58.53 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/1.122, allocations: 42.31 kB / 1.356 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/1.122, allocations: 0 / 1.356 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/1.122, allocations: 35.5 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.122, allocations: 0.9688 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002864/1.122, allocations: 104 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/1.122, allocations: 79.23 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/1.122, allocations: 121.8 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/1.122, allocations: 29.64 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/1.122, allocations: 89.05 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/1.122, allocations: 7.172 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/1.122, allocations: 2.75 kB / 1.356 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/1.122, allocations: 317.2 kB / 1.356 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/1.122, allocations: 49.39 kB / 1.356 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/1.123, allocations: 55.33 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/1.123, allocations: 55.56 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.123, allocations: 0 / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002597/1.123, allocations: 147.6 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.123, allocations: 4.469 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.123, allocations: 0 / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.123, allocations: 4.656 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/1.123, allocations: 6.375 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.123, allocations: 0 / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/1.123, allocations: 15.94 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/1.123, allocations: 2.594 kB / 1.357 GB, free: 14.35 MB / 0.8073 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 7.721e-05/1.123, allocations: 135.5 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/1.123, allocations: 10.66 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/1.123, allocations: 10.52 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.123, allocations: 1.781 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.123, allocations: 1.844 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.123, allocations: 0 / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/1.123, allocations: 147.9 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.124, allocations: 4 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/1.124, allocations: 8.719 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/1.124, allocations: 1.625 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/1.124, allocations: 1.344 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.124, allocations: 1.297 kB / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.124, allocations: 0 / 1.357 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002232/1.124, allocations: 208.3 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/1.124, allocations: 90.66 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/1.124, allocations: 6.391 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/1.124, allocations: 7.25 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/1.124, allocations: 8.656 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/1.124, allocations: 0.75 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.562e-05/1.124, allocations: 94.22 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000399/1.125, allocations: 72.28 kB / 1.358 GB, free: 13.7 MB / 0.8073 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.0003272/1.125, allocations: 165.7 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002514/1.125, allocations: 152.5 kB / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.125, allocations: 0 / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/1.125, allocations: 73.17 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/1.125, allocations: 4.656 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/1.126, allocations: 118.5 kB / 1.358 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.126, allocations: 0.6991 MB / 1.359 GB, free: 28.73 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.126, allocations: 4.906 kB / 1.359 GB, free: 28.72 MB / 0.823 GB Notification: Performance of Templates: time 0.004807/1.131, allocations: 1.566 MB / 1.36 GB, free: 28.59 MB / 0.823 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches