Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001749/0.001749, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001962/0.001963, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6424, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003378/0.6458, allocations: 1.651 MB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.6469, allocations: 0.5035 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.647, allocations: 3.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.6471, allocations: 7.922 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.6472, allocations: 19.86 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.6475, allocations: 31.97 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.6477, allocations: 79.77 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.6479, allocations: 40.16 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.648, allocations: 35.91 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.6482, allocations: 39.83 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.6482, allocations: 4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.6483, allocations: 20 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.6484, allocations: 19.92 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.6484, allocations: 39.73 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.6486, allocations: 89.67 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6486, allocations: 0 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6486, allocations: 3.938 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.6487, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 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.0007434/0.6494, allocations: 407 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6495, allocations: 8.031 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.6495, allocations: 8.844 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.6497, allocations: 200.1 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6498, allocations: 4.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.6498, allocations: 16.31 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.6501, allocations: 102 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6501, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6501, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.6501, allocations: 7.984 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.6504, allocations: 99.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.651, allocations: 376.6 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.6511, allocations: 54.55 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.6513, allocations: 56.95 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.6513, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.6514, allocations: 38.56 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.6514, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004579/0.6518, allocations: 165.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6519, allocations: 55.41 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.652, allocations: 136.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.6521, allocations: 29.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.6522, allocations: 104.1 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.6522, allocations: 31.62 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.6523, allocations: 17.72 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6525, allocations: 318.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.6526, allocations: 43.97 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6527, allocations: 39.97 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.653, allocations: 88.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.653, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003076/0.6533, allocations: 125.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6533, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6533, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6533, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.6535, allocations: 27.91 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6535, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/0.6536, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.6536, allocations: 7.984 kB / 1.022 GB, free: 13.35 MB / 0.7794 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.0001394/0.6538, allocations: 114.4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.6538, allocations: 11.91 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.6542, allocations: 150.2 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6542, allocations: 8.375 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6542, allocations: 3.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6543, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.6546, allocations: 197.6 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6546, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6547, allocations: 19.98 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6547, allocations: 7.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6547, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.6547, allocations: 3.938 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6547, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.6551, allocations: 223.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.6552, allocations: 81.02 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.6552, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6553, allocations: 19.92 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.6554, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6554, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.034e-05/0.6554, allocations: 100.5 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6555, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002406/0.6557, allocations: 23.84 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0001603/0.6559, allocations: 99.25 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.6562, allocations: 107.9 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6562, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.6564, allocations: 51.97 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.6566, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.6571, allocations: 247.2 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.6575, allocations: 0.7002 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000151/0.6576, allocations: 23.91 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.6577, allocations: 11.44 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6577, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.003329/0.661, allocations: 0.6423 MB / 1.025 GB, free: 10.36 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches