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.001392/0.001398, 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.001352/0.001352, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.12 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3421, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002813/0.3449, allocations: 1.662 MB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.3458, allocations: 0.5142 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.3459, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.346, allocations: 7.938 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.3461, allocations: 19.84 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3463, allocations: 27.98 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3464, allocations: 79.7 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3465, allocations: 40.2 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.3466, allocations: 31.92 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.3467, allocations: 35.84 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.3467, allocations: 4 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.3468, allocations: 15.98 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.3468, allocations: 19.91 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.3469, allocations: 47.69 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.347, allocations: 83.91 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.347, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.347, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.347, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 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.0005184/0.3476, allocations: 395.2 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3476, allocations: 8.031 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3477, allocations: 8.844 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3478, allocations: 204 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3479, allocations: 8.375 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3479, allocations: 4.375 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3482, allocations: 113.9 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3482, allocations: 3.938 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3482, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3482, allocations: 4 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3485, allocations: 95.94 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.349, allocations: 384.5 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3492, allocations: 62.55 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3493, allocations: 52.95 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3494, allocations: 0 / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3494, allocations: 34.56 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3494, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004579/0.3499, allocations: 173.4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.3499, allocations: 51.41 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.35, allocations: 138.9 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.35, allocations: 25.7 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.3501, allocations: 104 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3501, allocations: 19.8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3502, allocations: 21.7 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3503, allocations: 322.8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3504, allocations: 39.97 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3505, allocations: 40.34 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.3507, allocations: 88.81 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3508, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002677/0.351, allocations: 133.5 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3511, allocations: 4 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3511, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3511, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3512, allocations: 23.92 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3512, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.3513, allocations: 11.98 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3514, allocations: 4 kB / 1.057 GB, free: 3.508 MB / 0.8106 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.323e-05/0.3514, allocations: 121.8 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3515, allocations: 7.906 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.3518, allocations: 150.2 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3518, allocations: 3.938 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3519, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3519, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3521, allocations: 213.4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3521, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3522, allocations: 23.98 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3522, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3522, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3522, allocations: 3.938 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3522, allocations: 4.062 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3526, allocations: 231.3 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.3526, allocations: 85.02 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3526, allocations: 3.984 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3527, allocations: 11.94 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3528, allocations: 3.984 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3528, allocations: 8 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.3529, allocations: 97.3 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3529, allocations: 0 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002432/0.3531, allocations: 23.98 kB / 1.058 GB, free: 2.438 MB / 0.8106 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.0001308/0.3533, allocations: 99.25 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3535, allocations: 99.88 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3535, allocations: 4 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3537, allocations: 51.95 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3539, allocations: 6.391 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.3543, allocations: 236.9 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3546, allocations: 0.7004 MB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.3547, allocations: 23.91 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3548, allocations: 15.42 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3548, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of Templates: time 0.002818/0.3576, allocations: 0.6264 MB / 1.06 GB, free: 0.5312 MB / 0.8106 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