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.001576/0.001576, allocations: 110.5 kB / 15.99 MB, free: 6.348 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.001732/0.001732, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7423 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.59 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003699/0.3172, allocations: 1.661 MB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.3182, allocations: 0.5027 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.3183, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3184, allocations: 7.922 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.3185, allocations: 11.88 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3187, allocations: 35.95 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.3189, allocations: 75.72 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.319, allocations: 48.2 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3191, allocations: 39.84 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.3192, allocations: 43.78 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3193, allocations: 8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.3193, allocations: 12 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.3194, allocations: 27.91 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3194, allocations: 35.8 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.3196, allocations: 60.12 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3196, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3196, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3196, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 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.0005595/0.3202, allocations: 401.1 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3202, allocations: 12.03 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.3203, allocations: 20.75 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3205, allocations: 194.3 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3205, allocations: 4.375 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3205, allocations: 4.375 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3208, allocations: 117.9 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3208, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3208, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3209, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.3211, allocations: 99.94 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3217, allocations: 384.5 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3219, allocations: 62.53 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.322, allocations: 48.95 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.322, allocations: 4 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3221, allocations: 30.56 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3221, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004731/0.3225, allocations: 173.4 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3226, allocations: 51.41 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3227, allocations: 137.7 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3227, allocations: 29.7 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.3228, allocations: 104 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3228, allocations: 11.89 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.3229, allocations: 25.7 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.323, allocations: 318.8 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3231, allocations: 43.91 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3232, allocations: 40.34 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.3235, allocations: 96.73 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3235, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000275/0.3238, allocations: 129.5 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3238, allocations: 4 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3238, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3238, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3239, allocations: 19.92 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.324, allocations: 3.984 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.631e-05/0.3241, allocations: 15.98 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3241, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 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.889e-05/0.3242, allocations: 125.8 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3242, allocations: 11.84 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.3246, allocations: 142.2 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3246, allocations: 7.938 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3246, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3246, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3248, allocations: 209.5 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3248, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3249, allocations: 19.92 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.325, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.325, allocations: 4 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.325, allocations: 3.938 kB / 1.069 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.325, allocations: 128 / 1.069 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3253, allocations: 231.3 kB / 1.069 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.3254, allocations: 85.02 kB / 1.069 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3254, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3255, allocations: 11.92 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3255, allocations: 11.98 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3256, allocations: 4 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.3256, allocations: 101 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3256, allocations: 0 / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002386/0.3259, allocations: 16 kB / 1.07 GB, free: 8.984 MB / 0.8419 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.0001352/0.326, allocations: 107.2 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.3263, allocations: 107.8 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3263, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3264, allocations: 47.97 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3267, allocations: 8 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.3271, allocations: 272.8 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3274, allocations: 0.7118 MB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3274, allocations: 15.42 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3274, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of Templates: time 0.002696/0.3301, allocations: 1.104 MB / 1.072 GB, free: 6.559 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches