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.009257/0.009257, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001726/0.001726, allocations: 190.4 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3315, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002717/0.3343, allocations: 1.585 MB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.3351, allocations: 0.5069 MB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.3352, allocations: 0 / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3353, allocations: 11.88 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.3354, allocations: 19.78 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.3356, allocations: 35.91 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3358, allocations: 79.77 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3359, allocations: 48.14 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.336, allocations: 35.91 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.3361, allocations: 39.84 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3362, allocations: 4 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.3362, allocations: 12 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.3363, allocations: 27.91 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.3363, allocations: 39.73 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3365, allocations: 91.58 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3365, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3365, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3365, allocations: 11.94 kB / 1.21 GB, free: 7.113 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.00053/0.3371, allocations: 403 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3371, allocations: 8.031 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.3371, allocations: 12.84 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3373, allocations: 188.2 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3373, allocations: 4.375 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3374, allocations: 8.375 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.3376, allocations: 106 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3376, allocations: 3.938 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3376, allocations: 4 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.3377, allocations: 7.984 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.3379, allocations: 91.94 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.3384, allocations: 384.4 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3386, allocations: 54.55 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3387, allocations: 56.95 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.3388, allocations: 3.984 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3388, allocations: 34.56 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3388, allocations: 4 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004341/0.3392, allocations: 165.6 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3393, allocations: 55.41 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.3394, allocations: 135.3 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3394, allocations: 25.7 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.3395, allocations: 104 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3395, allocations: 31.78 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3396, allocations: 13.72 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3397, allocations: 322.8 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3398, allocations: 39.91 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.3399, allocations: 39.97 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3401, allocations: 92.8 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3401, allocations: 0 / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002557/0.3404, allocations: 125.5 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3404, allocations: 4 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3404, allocations: 3.984 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3404, allocations: 4 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3406, allocations: 23.92 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3406, allocations: 3.984 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.3407, allocations: 11.98 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3407, allocations: 4 kB / 1.213 GB, free: 4.363 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 9.287e-05/0.3408, allocations: 113.8 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3408, allocations: 7.906 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3411, allocations: 150.2 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3412, allocations: 3.938 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3412, allocations: 7.938 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3412, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3414, allocations: 205.9 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3414, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3415, allocations: 27.97 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3415, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3415, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3415, allocations: 3.938 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3415, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3419, allocations: 235.3 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3419, allocations: 81.02 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3419, allocations: 0 / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.342, allocations: 15.92 kB / 1.213 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3421, allocations: 4 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3421, allocations: 7.984 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.3422, allocations: 104.7 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 4 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000224/0.3424, allocations: 12 kB / 1.214 GB, free: 3.297 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.00013/0.3426, allocations: 97.88 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3428, allocations: 111.8 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3428, allocations: 0 / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.343, allocations: 51.97 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3432, allocations: 7.953 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.3436, allocations: 227 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3438, allocations: 0.7002 MB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.127e-05/0.3439, allocations: 15.92 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.344, allocations: 15.44 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.344, allocations: 0 / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.002646/0.3466, allocations: 0.7181 MB / 1.216 GB, free: 1.305 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