Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.058/2.058, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001046/0.001046, allocations: 173.3 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.356/1.356, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0009563/0.0009564, allocations: 90.12 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.276e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7386/1.01, allocations: 150 MB / 1.358 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.01, allocations: 72.59 kB / 1.358 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005144/1.015, allocations: 1.444 MB / 1.36 GB, free: 17.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.015, allocations: 4.766 kB / 1.36 GB, free: 17.1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004279/1.015, allocations: 379.8 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.016, allocations: 8.844 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/1.016, allocations: 16.31 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/1.016, allocations: 193.4 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.016, allocations: 3.141 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/1.016, allocations: 10.12 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001551/1.016, allocations: 62.41 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/1.016, allocations: 86.14 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.016, allocations: 0 / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.016, allocations: 4.906 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.016, allocations: 5.25 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/1.017, allocations: 360.8 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/1.017, allocations: 44.78 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/1.017, allocations: 36.91 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/1.017, allocations: 4.312 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/1.017, allocations: 31.78 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/1.017, allocations: 1.094 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002585/1.017, allocations: 97.55 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/1.017, allocations: 52.72 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/1.017, allocations: 116.4 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/1.017, allocations: 25.7 kB / 1.361 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/1.017, allocations: 102.5 kB / 1.361 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/1.017, allocations: 22.89 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/1.017, allocations: 0 / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.018, allocations: 320.4 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/1.018, allocations: 23.95 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/1.018, allocations: 22.3 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.311e-05/1.018, allocations: 32.48 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.018, allocations: 1 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001774/1.018, allocations: 97.52 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.018, allocations: 8.656 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.018, allocations: 0 / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.018, allocations: 9.219 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.018, allocations: 21.39 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.018, allocations: 1.469 kB / 1.362 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/1.018, allocations: 14.8 kB / 1.362 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/1.018, allocations: 5.094 kB / 1.362 GB, free: 31.45 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: 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 6.151e-05/1.018, allocations: 102.1 kB / 1.362 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/1.018, allocations: 6.688 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/1.019, allocations: 121.3 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.019, allocations: 0.5625 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.019, allocations: 1.094 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.019, allocations: 4.641 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/1.019, allocations: 186.2 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.019, allocations: 4 kB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.019, allocations: 29.62 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.019, allocations: 1.344 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.019, allocations: 2.719 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.019, allocations: 0 / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.019, allocations: 1.312 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002014/1.019, allocations: 196.1 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/1.019, allocations: 83.44 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/1.019, allocations: 1.469 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.019, allocations: 15.67 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/1.019, allocations: 5.391 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.019, allocations: 7.844 kB / 1.362 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.546e-05/1.02, allocations: 100.8 kB / 1.362 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002227/1.02, allocations: 17.34 kB / 1.362 GB, free: 30.8 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: 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.0001345/1.02, allocations: 97.75 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001561/1.02, allocations: 73.8 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.02, allocations: 0 / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/1.02, allocations: 39.34 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/1.02, allocations: 16.89 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/1.021, allocations: 139.1 kB / 1.363 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/1.021, allocations: 0.7196 MB / 1.364 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.021, allocations: 0 / 1.364 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.002923/1.024, allocations: 0.7895 MB / 1.364 GB, free: 29.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches