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.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.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.001442/0.001442, allocations: 166.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009616/0.0009618, allocations: 100 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.644e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.04, allocations: 132.4 MB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.04, allocations: 80.19 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005005/1.045, allocations: 1.701 MB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.82e-07/1.045, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.045, allocations: 4 kB / 1.023 GB, free: 0.7578 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.0004497/1.045, allocations: 384.9 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.045, allocations: 12.02 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/1.046, allocations: 11.91 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/1.046, allocations: 199.7 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/1.046, allocations: 7.25 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/1.046, allocations: 15.19 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/1.046, allocations: 91.39 kB / 1.024 GB, free: 16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.046, allocations: 0 / 1.024 GB, free: 16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.046, allocations: 3.875 kB / 1.024 GB, free: 16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.046, allocations: 0 / 1.024 GB, free: 16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/1.046, allocations: 61.72 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/1.047, allocations: 387.8 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/1.047, allocations: 47.19 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/1.047, allocations: 38.97 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/1.047, allocations: 3.953 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.047, allocations: 38.56 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/1.047, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002673/1.047, allocations: 94.52 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.047, allocations: 51.41 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.048, allocations: 117.1 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/1.048, allocations: 25.7 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/1.048, allocations: 109.9 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/1.048, allocations: 19.78 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/1.048, allocations: 7.188 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.048, allocations: 318.1 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.811e-05/1.048, allocations: 22.42 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/1.048, allocations: 27.61 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/1.048, allocations: 30.98 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.048, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001516/1.048, allocations: 94.7 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.048, allocations: 11.95 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.048, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.048, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/1.048, allocations: 27.97 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.048, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/1.048, allocations: 14.78 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.049, allocations: 11.92 kB / 1.025 GB, free: 14.51 MB / 0.6511 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 9.444e-05/1.049, allocations: 108.9 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.049, allocations: 11.34 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.049, allocations: 123.5 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.049, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.049, allocations: 3.938 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.049, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/1.049, allocations: 201.9 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.049, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.049, allocations: 19.98 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.049, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/1.049, allocations: 8 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.049, allocations: 3.953 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.049, allocations: 3.938 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/1.05, allocations: 193.6 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/1.05, allocations: 81.2 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/1.05, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/1.05, allocations: 15.3 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/1.05, allocations: 15.94 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.05, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.527e-05/1.05, allocations: 103.2 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.05, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000211/1.05, allocations: 15.44 kB / 1.026 GB, free: 13.59 MB / 0.6511 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.0001922/1.05, allocations: 103.2 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001587/1.05, allocations: 73.53 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.05, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/1.051, allocations: 46.23 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/1.051, allocations: 3.5 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/1.051, allocations: 143.8 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.051, allocations: 0.7088 MB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.996e-05/1.052, allocations: 11.98 kB / 1.027 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/1.052, allocations: 19 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/1.052, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.002929/1.055, allocations: 0.5974 MB / 1.028 GB, free: 11.9 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