Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8707, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002696/0.8734, allocations: 1.589 MB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.8743, allocations: 0.4983 MB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.8743, allocations: 1.375 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.8745, allocations: 12.92 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.8745, allocations: 21.33 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.8748, allocations: 32.45 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.8749, allocations: 81.69 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.8751, allocations: 54.03 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.8751, allocations: 37.97 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.8752, allocations: 36.81 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.8753, allocations: 6.219 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.8753, allocations: 13.62 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.8754, allocations: 25.5 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.8754, allocations: 41.33 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.8756, allocations: 88.11 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8756, allocations: 5.062 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8756, allocations: 0 / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8756, allocations: 0 / 0.9521 GB, free: 7.234 MB / 0.7169 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.0004804/0.8761, allocations: 401.1 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8762, allocations: 9.062 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.8762, allocations: 9.812 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.8764, allocations: 198 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.8764, allocations: 2.844 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.8764, allocations: 17.59 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.8767, allocations: 105.5 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8767, allocations: 0 / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.8767, allocations: 5.156 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8767, allocations: 1.281 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.877, allocations: 98.23 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.8775, allocations: 380.1 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.8776, allocations: 59.61 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.8778, allocations: 53.61 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.8778, allocations: 6.359 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.8778, allocations: 31.69 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.8779, allocations: 5.281 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004485/0.8783, allocations: 159.4 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.8783, allocations: 56.84 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.8784, allocations: 137.2 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.8785, allocations: 25.7 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.8785, allocations: 109 kB / 0.9538 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.8785, allocations: 26.08 kB / 0.9539 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.8786, allocations: 18.78 kB / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.8787, allocations: 321.4 kB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.8788, allocations: 38.16 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.8789, allocations: 42.97 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.8791, allocations: 87.89 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8791, allocations: 1.031 kB / 0.9544 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002481/0.8793, allocations: 120.8 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8794, allocations: 9.625 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8794, allocations: 4 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8794, allocations: 5.234 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.8795, allocations: 28.8 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8795, allocations: 0 / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.8796, allocations: 6.312 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.8796, allocations: 6.266 kB / 0.9545 GB, free: 5.051 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.8797, allocations: 115.4 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.8798, allocations: 7.312 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.8801, allocations: 152.2 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8801, allocations: 5.062 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8801, allocations: 1.219 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8801, allocations: 0 / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.8803, allocations: 201.9 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8803, allocations: 3.938 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.8804, allocations: 21.69 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.8804, allocations: 4 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.8804, allocations: 1.031 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8804, allocations: 4.938 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8804, allocations: 0 / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.8807, allocations: 220.6 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.8807, allocations: 87.97 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.8807, allocations: 8.906 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.8808, allocations: 12.55 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.8809, allocations: 6.375 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8809, allocations: 7.391 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.881, allocations: 106.3 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.881, allocations: 1.125 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002297/0.8812, allocations: 20.41 kB / 0.9555 GB, free: 4.188 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.8813, allocations: 97.28 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.8816, allocations: 106.7 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8816, allocations: 0 / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.8818, allocations: 57.34 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.882, allocations: 0.9375 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.8824, allocations: 216.5 kB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.8825, allocations: 0.7024 MB / 0.9566 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.8827, allocations: 22.95 kB / 0.9566 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.8827, allocations: 8.562 kB / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8827, allocations: 0 / 0.9566 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.002914/0.8857, allocations: 0.7185 MB / 0.9573 GB, free: 2.758 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches