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.007039/0.007039, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001308/0.001308, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.72 kB / 0.9508 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 140.4 MB / 1.088 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003286/0.3416, allocations: 1.599 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.3426, allocations: 0.505 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.3427, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3428, allocations: 7.875 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.3429, allocations: 23.78 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3432, allocations: 31.97 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3433, allocations: 87.64 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3435, allocations: 48.12 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.3436, allocations: 35.91 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.3437, allocations: 43.78 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3437, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.3438, allocations: 12 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.3438, allocations: 23.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.3439, allocations: 35.8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.344, allocations: 95.58 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3441, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3441, allocations: 7.938 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3441, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 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.00055/0.3446, allocations: 399.1 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3447, allocations: 8.031 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3447, allocations: 16.75 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3449, allocations: 189.6 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3449, allocations: 8.375 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.345, allocations: 4.375 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3452, allocations: 110 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3452, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3452, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3453, allocations: 3.938 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.3455, allocations: 99.92 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.3461, allocations: 376.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3462, allocations: 62.55 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3464, allocations: 48.95 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3464, allocations: 7.984 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3464, allocations: 34.56 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3464, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004857/0.3469, allocations: 161.5 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.347, allocations: 55.41 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3471, allocations: 143.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3471, allocations: 25.7 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.3472, allocations: 108.1 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3472, allocations: 23.73 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3473, allocations: 21.66 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3474, allocations: 322.8 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3475, allocations: 35.97 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.3476, allocations: 39.97 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3479, allocations: 92.8 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3479, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002526/0.3482, allocations: 125.9 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3482, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3482, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.3482, allocations: 7.969 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3484, allocations: 19.92 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3484, allocations: 8 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.3485, allocations: 4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3485, allocations: 7.984 kB / 1.093 GB, free: 12.28 MB / 0.8575 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.297e-05/0.3486, allocations: 117.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3486, allocations: 7.906 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.3489, allocations: 146.2 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.349, allocations: 7.938 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.349, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.349, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3492, allocations: 213.5 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3492, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.3493, allocations: 19.97 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3493, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3493, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3493, allocations: 3.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3493, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3497, allocations: 231.3 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.3497, allocations: 81.02 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3498, allocations: 4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.3499, allocations: 11.92 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.3499, allocations: 4 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.35, allocations: 11.92 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.35, allocations: 103.3 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.35, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002399/0.3503, allocations: 16 kB / 1.094 GB, free: 11.21 MB / 0.8575 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.0001907/0.3505, allocations: 99.25 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.3508, allocations: 108 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3508, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.351, allocations: 51.97 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3512, allocations: 6.344 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.3518, allocations: 219.1 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3522, allocations: 0.6924 MB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.3523, allocations: 23.88 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.3524, allocations: 11.44 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of SimCode: time 1.414e-05/0.3524, allocations: 0 / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of Templates: time 0.004372/0.3568, allocations: 0.7349 MB / 1.096 GB, free: 9.223 MB / 0.8575 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