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.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 193.3 kB / 16.14 MB, free: 6.648 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.633/2.633, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9372/0.9386, allocations: 140.4 MB / 0.9489 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003172/0.9418, allocations: 1.653 MB / 0.9505 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.9428, allocations: 0.4993 MB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.9429, allocations: 1.375 kB / 0.951 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.943, allocations: 5.312 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.9431, allocations: 17.22 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.9433, allocations: 28.23 kB / 0.9511 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.9435, allocations: 92.59 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.9436, allocations: 39.77 kB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.9437, allocations: 30.98 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.9438, allocations: 44.61 kB / 0.9513 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.9439, allocations: 4.562 kB / 0.9513 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.9439, allocations: 10.86 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.944, allocations: 21.48 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.944, allocations: 36.61 kB / 0.9513 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.9442, allocations: 85.58 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9442, allocations: 0 / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9442, allocations: 0 / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9442, allocations: 0 / 0.9514 GB, free: 7.113 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.0005465/0.9448, allocations: 406.2 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.9448, allocations: 13.05 kB / 0.9518 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.9449, allocations: 13.72 kB / 0.9518 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.9451, allocations: 199.9 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.9451, allocations: 3.5 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.9451, allocations: 8.219 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.9454, allocations: 114.5 kB / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.9454, allocations: 0 / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.9454, allocations: 4 kB / 0.9521 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9454, allocations: 1.406 kB / 0.9521 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.9456, allocations: 100.1 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.9463, allocations: 374.9 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.9464, allocations: 59.48 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.9465, allocations: 49.45 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.9466, allocations: 2.781 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.9466, allocations: 35.97 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.9466, allocations: 0 / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.00045/0.9471, allocations: 171.5 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.9471, allocations: 52.5 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.9472, allocations: 133.7 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.9472, allocations: 25.7 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.9473, allocations: 112.6 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.9473, allocations: 25.98 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.9473, allocations: 22.64 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.9474, allocations: 321.2 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.9475, allocations: 38.22 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.9476, allocations: 43.19 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.9478, allocations: 92.41 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9478, allocations: 1.125 kB / 0.9537 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002557/0.9481, allocations: 125.7 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9481, allocations: 4.031 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9481, allocations: 1.25 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.9481, allocations: 0 / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.9483, allocations: 28.48 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.9483, allocations: 1.469 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.9484, allocations: 8.703 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.9484, allocations: 3.375 kB / 0.9539 GB, free: 4.922 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 8.539e-05/0.9485, allocations: 118.3 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.9486, allocations: 7.75 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.9489, allocations: 144.3 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.949, allocations: 5.25 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.949, allocations: 0 / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.949, allocations: 1.531 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.9492, allocations: 201.3 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9492, allocations: 3.938 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.9493, allocations: 21.83 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9493, allocations: 0 / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.9493, allocations: 5.188 kB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.9494, allocations: 9.203 kB / 0.9544 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9494, allocations: 4 kB / 0.9544 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.9497, allocations: 220.8 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.9497, allocations: 87.19 kB / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.9498, allocations: 0.9375 kB / 0.9547 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.9499, allocations: 17.12 kB / 0.9547 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.95, allocations: 10.05 kB / 0.9547 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.95, allocations: 3.281 kB / 0.9547 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.9501, allocations: 109.8 kB / 0.9548 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9501, allocations: 0 / 0.9548 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002673/0.9503, allocations: 22.09 kB / 0.9548 GB, free: 4.055 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.0001922/0.9505, allocations: 96.25 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.9509, allocations: 102.1 kB / 0.955 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9509, allocations: 0 / 0.955 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.951, allocations: 55.36 kB / 0.9551 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.9513, allocations: 6.25 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.9518, allocations: 235 kB / 0.9553 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.952, allocations: 0.6995 MB / 0.956 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.9522, allocations: 16.97 kB / 0.956 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.9522, allocations: 13.78 kB / 0.956 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.9522, allocations: 0 / 0.956 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.003325/0.9556, allocations: 0.6188 MB / 0.9566 GB, free: 2.668 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