Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009964/0.009965, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001956/0.001956, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.12 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002912/0.3242, allocations: 1.593 MB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.3251, allocations: 0.5147 MB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.3252, allocations: 0 / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.3254, allocations: 15.86 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.3254, allocations: 11.88 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3257, allocations: 31.91 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.3259, allocations: 79.75 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3261, allocations: 48.14 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3262, allocations: 35.91 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.3263, allocations: 39.84 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3263, allocations: 8 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.3264, allocations: 15.94 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.3264, allocations: 23.92 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.3265, allocations: 39.73 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3267, allocations: 91.62 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3267, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3267, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3267, allocations: 0 / 1.21 GB, free: 7.129 MB / 0.9669 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.0005519/0.3273, allocations: 407 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3273, allocations: 11.97 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.3274, allocations: 12.84 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3276, allocations: 196.1 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3276, allocations: 4.375 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3276, allocations: 12.36 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3279, allocations: 105.9 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3279, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3279, allocations: 4 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3279, allocations: 4 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.3282, allocations: 91.94 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.3288, allocations: 384.4 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.329, allocations: 58.55 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3291, allocations: 52.95 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.3292, allocations: 11.92 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3292, allocations: 34.56 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3292, allocations: 0 / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.3297, allocations: 165.5 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3297, allocations: 55.41 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3299, allocations: 135.5 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3299, allocations: 29.7 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.33, allocations: 100 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.33, allocations: 23.8 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.33, allocations: 21.7 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3302, allocations: 314.8 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3303, allocations: 47.91 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3304, allocations: 43.91 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3306, allocations: 89.17 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3306, allocations: 0 / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002806/0.3309, allocations: 129.5 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3309, allocations: 8 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.331, allocations: 0 / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.331, allocations: 0 / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3311, allocations: 23.92 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3311, allocations: 3.938 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.3312, allocations: 7.984 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3312, allocations: 4 kB / 1.213 GB, free: 4.367 MB / 0.9669 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 0.0001/0.3313, allocations: 117.8 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3314, allocations: 15.91 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.3317, allocations: 134.3 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3318, allocations: 7.938 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3318, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3318, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.332, allocations: 209.5 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.332, allocations: 0 / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3321, allocations: 23.92 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3321, allocations: 8 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3322, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3322, allocations: 3.938 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3322, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3325, allocations: 215.4 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3326, allocations: 85.02 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3326, allocations: 8.188 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.3327, allocations: 15.92 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.3327, allocations: 7.984 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3328, allocations: 4 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.3328, allocations: 100.7 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3328, allocations: 0 / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000239/0.3331, allocations: 16 kB / 1.214 GB, free: 3.312 MB / 0.9669 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.0001688/0.3333, allocations: 107.2 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.3336, allocations: 99.88 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3336, allocations: 0 / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3338, allocations: 59.91 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.334, allocations: 3.953 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.3345, allocations: 231 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3347, allocations: 0.7041 MB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.3349, allocations: 15.97 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.3349, allocations: 15.42 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3349, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.003137/0.338, allocations: 0.7323 MB / 1.216 GB, free: 1.297 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches