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.001514/0.00152, allocations: 101.1 kB / 16.27 MB, free: 5.965 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.001453/0.001454, allocations: 191.9 kB / 17.2 MB, free: 5.59 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.468/2.468, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 64.75 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003053/0.2788, allocations: 1.6 MB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.2797, allocations: 0.5049 MB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.2798, allocations: 4 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2799, allocations: 11.86 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.28, allocations: 15.81 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.2802, allocations: 43.94 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2803, allocations: 79.72 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2805, allocations: 36.22 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.2806, allocations: 43.83 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.2807, allocations: 39.84 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2807, allocations: 4 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.2808, allocations: 12 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.2809, allocations: 19.92 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.2809, allocations: 47.72 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.2811, allocations: 87.92 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2811, allocations: 4 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2811, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2811, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 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.0005455/0.2816, allocations: 395.1 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2817, allocations: 8.031 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.2817, allocations: 12.84 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.2819, allocations: 200 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2819, allocations: 8.375 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.282, allocations: 8.375 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2822, allocations: 108.5 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2822, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.2823, allocations: 4 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2823, allocations: 4 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.2825, allocations: 95.88 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.2831, allocations: 380.5 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2833, allocations: 62.55 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.2834, allocations: 56.94 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.2835, allocations: 7.938 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2835, allocations: 34.56 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2835, allocations: 0 / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004585/0.284, allocations: 157.5 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.284, allocations: 59.41 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.2841, allocations: 132.4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2841, allocations: 29.7 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.2842, allocations: 100 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.2842, allocations: 27.78 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.2843, allocations: 17.72 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2844, allocations: 322.8 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2845, allocations: 39.97 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2846, allocations: 43.91 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.2848, allocations: 88.8 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2849, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003241/0.2852, allocations: 121.5 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2852, allocations: 15.98 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2852, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2852, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2854, allocations: 19.92 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2854, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.2855, allocations: 11.92 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2855, allocations: 4 kB / 1.023 GB, free: 5.375 MB / 0.795 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.755e-05/0.2856, allocations: 128.2 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.2857, allocations: 7.906 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.286, allocations: 146.8 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.286, allocations: 3.938 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.286, allocations: 4.062 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2861, allocations: 3.984 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.2863, allocations: 205.5 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2863, allocations: 4 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2864, allocations: 31.91 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2864, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2864, allocations: 0 / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2864, allocations: 3.938 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2864, allocations: 0 / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.2867, allocations: 219.4 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.2868, allocations: 85.02 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2868, allocations: 11.94 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2869, allocations: 11.92 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.287, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.287, allocations: 3.984 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.2871, allocations: 103.3 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2871, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002431/0.2873, allocations: 12 kB / 1.024 GB, free: 4.305 MB / 0.795 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.0001516/0.2875, allocations: 115.2 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.2878, allocations: 95.92 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2878, allocations: 0 / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.288, allocations: 55.91 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2882, allocations: 10.97 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.2887, allocations: 240.9 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.289, allocations: 0.7002 MB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.2891, allocations: 15.44 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.2891, allocations: 4 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of Templates: time 0.002829/0.2919, allocations: 1.112 MB / 1.026 GB, free: 1.906 MB / 0.795 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches