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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 249.5 MB / 257 MB, free: 6.926 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.001223/0.001222, allocations: 176.8 kB / 316.3 MB, free: 3.238 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.684/1.684, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008521/0.0008521, allocations: 91.83 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.037e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7285/0.9324, allocations: 132.7 MB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.9326, allocations: 75.33 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004992/0.9376, allocations: 1.689 MB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9377, allocations: 0 / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.9377, allocations: 0 / 1.017 GB, free: 3.605 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.0004531/0.9382, allocations: 389.1 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.9382, allocations: 8.031 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.9383, allocations: 11.91 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.9385, allocations: 194.7 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.9385, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.9386, allocations: 7.938 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/0.9387, allocations: 60.53 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.9389, allocations: 85.33 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9389, allocations: 0 / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.9389, allocations: 4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9389, allocations: 4 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.9395, allocations: 357 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.9396, allocations: 45.25 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.9396, allocations: 26.3 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.9397, allocations: 11.97 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9397, allocations: 34.52 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.9397, allocations: 0 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.94, allocations: 95.64 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.94, allocations: 62.72 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.9401, allocations: 112.4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.9402, allocations: 25.7 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.9402, allocations: 103.6 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.9403, allocations: 19.27 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.9403, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9404, allocations: 319.1 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.9404, allocations: 23.05 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.9405, allocations: 23.25 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.9406, allocations: 39.03 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9406, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001618/0.9407, allocations: 95.83 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9408, allocations: 8 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9408, allocations: 0 / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9408, allocations: 7.891 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.941, allocations: 23.97 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.941, allocations: 0 / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.9411, allocations: 15.91 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.9411, allocations: 11.97 kB / 1.019 GB, free: 1.406 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 7.82e-05/0.9412, allocations: 101 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.9412, allocations: 7.906 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.9415, allocations: 112.2 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9415, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9415, allocations: 11.89 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9415, allocations: 0 / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.9417, allocations: 184.7 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9417, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.9418, allocations: 23.73 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9418, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.9418, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9419, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9419, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.9421, allocations: 196.4 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.9421, allocations: 89.02 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.9422, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9423, allocations: 11.98 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.9423, allocations: 15.61 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.9423, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.9424, allocations: 99.98 kB / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9424, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002253/0.9426, allocations: 24 kB / 1.019 GB, free: 0.5312 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.000155/0.9428, allocations: 101.6 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.9429, allocations: 69.97 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.943, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.943, allocations: 39.23 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.9432, allocations: 6.203 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.9435, allocations: 138.7 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.9438, allocations: 0.708 MB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.9439, allocations: 15.92 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.9439, allocations: 15.42 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.1e-07/0.9439, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.002415/0.9464, allocations: 0.5683 MB / 1.021 GB, free: 14.88 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