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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005275/0.005275, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001192/0.001192, allocations: 192.3 kB / 16.79 MB, free: 5.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.651, 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.00246/0.6535, allocations: 1.654 MB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.6542, allocations: 0.4999 MB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.6543, allocations: 1.25 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.6544, allocations: 7.938 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.6544, allocations: 14.62 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.6546, allocations: 34.77 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.6547, allocations: 82.08 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.6549, allocations: 39.33 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.655, allocations: 31.03 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.655, allocations: 36.22 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.6551, allocations: 4.125 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.6551, allocations: 16.23 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.6552, allocations: 25.34 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.6552, allocations: 37.38 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.6553, allocations: 59.73 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6553, allocations: 4 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6553, allocations: 0 / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.6553, allocations: 0 / 0.9521 GB, free: 7.238 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.0004466/0.6558, allocations: 405.3 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6558, allocations: 12.23 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.6559, allocations: 10.09 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.656, allocations: 190.5 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.656, allocations: 7.562 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.6561, allocations: 3.812 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.6563, allocations: 121.6 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6563, allocations: 3.984 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6563, allocations: 1.094 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6563, allocations: 1.594 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.6566, allocations: 102.3 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.6571, allocations: 372.5 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.6572, allocations: 59.14 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.6574, allocations: 49.73 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.6574, allocations: 11.11 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.6574, allocations: 32.25 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.6574, allocations: 0 / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004305/0.6579, allocations: 171.5 kB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.6579, allocations: 51.41 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.658, allocations: 141.4 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.658, allocations: 26.98 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.6581, allocations: 108.8 kB / 0.9538 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.6581, allocations: 17.34 kB / 0.9539 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.6581, allocations: 23.02 kB / 0.9539 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.6582, allocations: 321.3 kB / 0.9542 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.6583, allocations: 37.97 kB / 0.9542 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.6584, allocations: 47.84 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.6586, allocations: 84.44 kB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6586, allocations: 3.938 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002548/0.6589, allocations: 129.3 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6589, allocations: 5.438 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6589, allocations: 4 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6589, allocations: 0.9062 kB / 0.9545 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6591, allocations: 20.64 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6591, allocations: 1.094 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.6592, allocations: 8.641 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.6592, allocations: 7.812 kB / 0.9545 GB, free: 5.047 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.299e-05/0.6592, allocations: 119.5 kB / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.6593, allocations: 7.469 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.6596, allocations: 143.2 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6596, allocations: 5.125 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6596, allocations: 1.312 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6596, allocations: 0 / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.6598, allocations: 206.1 kB / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6598, allocations: 0 / 0.955 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6599, allocations: 16.61 kB / 0.955 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6599, allocations: 5.875 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6599, allocations: 0 / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6599, allocations: 13.42 kB / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6599, allocations: 0 / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.6602, allocations: 220 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.6603, allocations: 87.81 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.6603, allocations: 1.625 kB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6604, allocations: 11.97 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.6604, allocations: 7.766 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6605, allocations: 6.125 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.6605, allocations: 103.5 kB / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6605, allocations: 0 / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002414/0.6607, allocations: 24.44 kB / 0.9555 GB, free: 4.191 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.0001149/0.6609, allocations: 101.5 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.6611, allocations: 100.7 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6612, allocations: 0 / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.6613, allocations: 56.39 kB / 0.9557 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6615, allocations: 9.969 kB / 0.9557 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.6619, allocations: 265.7 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.6621, allocations: 0.6995 MB / 0.9567 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.6621, allocations: 22.7 kB / 0.9567 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.6621, allocations: 0 / 0.9567 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.002566/0.6647, allocations: 1.105 MB / 0.9578 GB, free: 2.508 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches