Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009846/0.0009845, allocations: 189.2 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 89.81 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.845e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5984, allocations: 131.2 MB / 1.013 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.5986, allocations: 80.44 kB / 1.013 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001136/0.5998, allocations: 253.9 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5998, allocations: 0 / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002282/0.6, allocations: 340.1 kB / 1.013 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6001, allocations: 12.02 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.6001, allocations: 0 / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.6002, allocations: 178.4 kB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.6002, allocations: 4.781 kB / 1.013 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.6002, allocations: 0 / 1.013 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.833e-05/0.6003, allocations: 23.17 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.695e-05/0.6004, allocations: 52.5 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.6004, allocations: 0 / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.6004, allocations: 0 / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6004, allocations: 4 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.6007, allocations: 257.1 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.6008, allocations: 14.58 kB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.6008, allocations: 12.75 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.6008, allocations: 0 / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.6008, allocations: 37.19 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6008, allocations: 0 / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000152/0.601, allocations: 37.69 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.601, allocations: 81.14 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.6011, allocations: 108.8 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.6011, allocations: 29.69 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.6012, allocations: 103.6 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/0.6012, allocations: 0 / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.6012, allocations: 0 / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.6013, allocations: 319.6 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.6013, allocations: 8 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.6014, allocations: 54.62 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.6014, allocations: 23.7 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6014, allocations: 4 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001184/0.6015, allocations: 81.11 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.6016, allocations: 8 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6016, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6016, allocations: 4 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.6017, allocations: 15.97 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6017, allocations: 8.734 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.6017, allocations: 15.84 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6017, allocations: 4 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 6.948e-05/0.6018, allocations: 134.6 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.6018, allocations: 3.906 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.6019, allocations: 18.91 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.6019, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6019, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6019, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.602, allocations: 130.2 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.602, allocations: 7.906 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.602, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.602, allocations: 4 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.602, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.602, allocations: 2.734 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.602, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.332e-05/0.6021, allocations: 138.6 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.6022, allocations: 88.39 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.6022, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.6023, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.6023, allocations: 4 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.6023, allocations: 3.938 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.538e-05/0.6023, allocations: 94.72 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000221/0.6025, allocations: 15.91 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0001419/0.6027, allocations: 103.2 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.6028, allocations: 57.5 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6028, allocations: 6.438 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.6028, allocations: 25.7 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.6029, allocations: 4 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000153/0.6031, allocations: 62.98 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6033, allocations: 0.688 MB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.6033, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of Templates: time 0.002152/0.6055, allocations: 0.5013 MB / 1.017 GB, free: 3.113 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches