Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.0009763/0.0009763, allocations: 187.6 kB / 316 MB, free: 3.523 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.063/1.063, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008115/0.0008114, allocations: 85.11 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.992e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.6235, allocations: 132.7 MB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.6237, allocations: 76.02 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004476/0.6282, allocations: 1.388 MB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6282, allocations: 2.625 kB / 1.016 GB, free: 4.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004571/0.6287, allocations: 389.3 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6287, allocations: 8.031 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.6288, allocations: 11.91 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.629, allocations: 198.3 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.629, allocations: 4 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.629, allocations: 8 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/0.6292, allocations: 69.47 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.6293, allocations: 83.47 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6293, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6293, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.6293, allocations: 4 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6299, allocations: 360.8 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.612e-05/0.6299, allocations: 36.58 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.63, allocations: 40.03 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.63, allocations: 7.984 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6301, allocations: 34.47 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.6301, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002412/0.6303, allocations: 99.62 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.6304, allocations: 55.34 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.6305, allocations: 118.4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6305, allocations: 29.7 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.6305, allocations: 95.78 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.6306, allocations: 19.8 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.6306, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6307, allocations: 322.7 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.6307, allocations: 26.05 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.6308, allocations: 19 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/0.6308, allocations: 34.59 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6308, allocations: 0 / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001526/0.631, allocations: 98.83 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.631, allocations: 4 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.631, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.631, allocations: 0 / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.6312, allocations: 27.91 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.6312, allocations: 4.656 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.6313, allocations: 15.91 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6313, allocations: 7.984 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 5.947e-05/0.6314, allocations: 101 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.6314, allocations: 7.906 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.6317, allocations: 118.5 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6317, allocations: 0 / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6317, allocations: 3.938 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6317, allocations: 11.91 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.6319, allocations: 183 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6319, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.632, allocations: 23.92 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.632, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.632, allocations: 4 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.632, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.632, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001837/0.6322, allocations: 200.6 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.6323, allocations: 85 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.6323, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6324, allocations: 11.98 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.6325, allocations: 3.984 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6325, allocations: 11.88 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.894e-05/0.6325, allocations: 96.77 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002163/0.6327, allocations: 15.91 kB / 1.019 GB, free: 1.629 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001349/0.6329, allocations: 106.9 kB / 1.019 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.633, allocations: 69.84 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.633, allocations: 2.438 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.6331, allocations: 42.3 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.6332, allocations: 4 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.6335, allocations: 137.5 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.6338, allocations: 0.7153 MB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.6338, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of Templates: time 0.002542/0.6364, allocations: 0.7892 MB / 1.02 GB, free: 15.78 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_VectorFunctions.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches