Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001443/0.001443, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001537/0.001537, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 64.73 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2705, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003387/0.2739, allocations: 1.652 MB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.2749, allocations: 0.4958 MB / 0.9519 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.275, allocations: 7.938 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.2751, allocations: 7.922 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.2752, allocations: 3.938 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2755, allocations: 43.89 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.2756, allocations: 79.72 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2758, allocations: 40.2 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2759, allocations: 47.83 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.276, allocations: 35.84 kB / 0.9521 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.276, allocations: 4 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.2761, allocations: 16 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.2761, allocations: 15.92 kB / 0.9522 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.2762, allocations: 47.72 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2763, allocations: 60.12 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2763, allocations: 0 / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2764, allocations: 0 / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.2764, allocations: 8 kB / 0.9523 GB, free: 6.656 MB / 0.7325 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.0005769/0.2769, allocations: 407 kB / 0.9527 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.277, allocations: 8.031 kB / 0.9527 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.277, allocations: 12.84 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2773, allocations: 200 kB / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2773, allocations: 4.375 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2773, allocations: 8.375 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2776, allocations: 109.9 kB / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2776, allocations: 0 / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2776, allocations: 4 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2776, allocations: 4 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.2779, allocations: 95.88 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.2785, allocations: 376.6 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2786, allocations: 66.48 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2787, allocations: 44.95 kB / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2788, allocations: 3.984 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2788, allocations: 42.56 kB / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2788, allocations: 0 / 0.9536 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004358/0.2793, allocations: 157.5 kB / 0.9537 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2793, allocations: 63.33 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2794, allocations: 135.7 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2794, allocations: 33.7 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.2795, allocations: 96.05 kB / 0.9541 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2795, allocations: 27.78 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.2796, allocations: 21.7 kB / 0.9541 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2797, allocations: 318.8 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.2798, allocations: 35.97 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.2799, allocations: 39.97 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2802, allocations: 92.8 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2802, allocations: 0 / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002621/0.2805, allocations: 126 kB / 0.9547 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2805, allocations: 7.938 kB / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2805, allocations: 4 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2805, allocations: 0 / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2807, allocations: 27.92 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.2807, allocations: 0 / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.2808, allocations: 7.984 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2808, allocations: 7.984 kB / 0.9547 GB, free: 3.898 MB / 0.7325 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.842e-05/0.2809, allocations: 113.8 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.2809, allocations: 11.89 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.2813, allocations: 154.2 kB / 0.955 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2813, allocations: 3.938 kB / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2813, allocations: 0 / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2813, allocations: 0 / 0.955 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2816, allocations: 201.6 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2816, allocations: 0 / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2817, allocations: 23.97 kB / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2817, allocations: 0 / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2817, allocations: 4 kB / 0.9552 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2817, allocations: 7.938 kB / 0.9552 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2817, allocations: 0 / 0.9552 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.282, allocations: 219.4 kB / 0.9554 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.2821, allocations: 84.95 kB / 0.9555 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2821, allocations: 11.98 kB / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2822, allocations: 11.92 kB / 0.9555 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.2823, allocations: 7.984 kB / 0.9556 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2823, allocations: 4 kB / 0.9556 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.2824, allocations: 110 kB / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 0.9557 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000238/0.2826, allocations: 12 kB / 0.9557 GB, free: 2.84 MB / 0.7325 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.0001554/0.2828, allocations: 103.2 kB / 0.9558 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.2831, allocations: 104.1 kB / 0.9559 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2831, allocations: 7.875 kB / 0.9559 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2832, allocations: 51.97 kB / 0.9559 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2835, allocations: 10.53 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.284, allocations: 272.8 kB / 0.9562 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2843, allocations: 0.7002 MB / 0.9569 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.2843, allocations: 15.44 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2843, allocations: 0 / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.002659/0.287, allocations: 1.116 MB / 0.958 GB, free: 408 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches