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.347/1.347, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 192.7 kB / 326.5 MB, free: 2.25 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.574/1.574, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008355/0.0008354, allocations: 94.25 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 9.844 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.3559, allocations: 132.5 MB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.3562, allocations: 71.97 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004784/0.361, allocations: 1.702 MB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.172e-06/0.361, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3611, allocations: 8 kB / 1.031 GB, free: 9.488 MB / 0.6823 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.0004232/0.3615, allocations: 402.9 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3615, allocations: 8.031 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.3616, allocations: 15.81 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3618, allocations: 198.8 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3618, allocations: 4 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3618, allocations: 8 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3621, allocations: 114.8 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3621, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3621, allocations: 7.984 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3621, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.3624, allocations: 107.9 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.3629, allocations: 384.6 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3631, allocations: 70.48 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.3631, allocations: 0 / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3632, allocations: 42.52 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.3632, allocations: 0 / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0004381/0.3636, allocations: 177.6 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.3636, allocations: 51.41 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.3637, allocations: 123.8 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3638, allocations: 29.7 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.3638, allocations: 100.2 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3638, allocations: 27.78 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.3639, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.364, allocations: 314.8 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3641, allocations: 51.91 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.3642, allocations: 39.97 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3643, allocations: 51.97 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3643, allocations: 0 / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002589/0.3646, allocations: 133.5 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3646, allocations: 4 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3646, allocations: 8.391 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3646, allocations: 4 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3648, allocations: 27.86 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3648, allocations: 0 / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.3649, allocations: 15.98 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3649, allocations: 4 kB / 1.034 GB, free: 6.801 MB / 0.6823 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 () * Number of clocked 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 8.173e-05/0.365, allocations: 121.8 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.365, allocations: 7.906 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.3654, allocations: 150.3 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3654, allocations: 3.953 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3654, allocations: 4 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3654, allocations: 3.984 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3656, allocations: 205.6 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3656, allocations: 0 / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3657, allocations: 23.92 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3657, allocations: 0 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3657, allocations: 7.984 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3657, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3658, allocations: 3.953 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3661, allocations: 232.1 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.3661, allocations: 88.95 kB / 1.034 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3661, allocations: 4 kB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3663, allocations: 11.98 kB / 1.034 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3663, allocations: 7.953 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3663, allocations: 7.984 kB / 1.034 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.3664, allocations: 99.27 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.243e-06/0.3664, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002124/0.3666, allocations: 23.84 kB / 1.035 GB, free: 5.719 MB / 0.6823 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 () * Number of clocked 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.0001406/0.3668, allocations: 107.2 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.367, allocations: 116 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.367, allocations: 0 / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3672, allocations: 59.91 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.3673, allocations: 4 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3677, allocations: 245.1 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.368, allocations: 0.7043 MB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.848e-05/0.3681, allocations: 19.95 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3681, allocations: 11.44 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3681, allocations: 0 / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of Templates: time 0.002456/0.3706, allocations: 0.59 MB / 1.036 GB, free: 3.805 MB / 0.6823 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