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.0007913/0.0007915, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005653/0.005653, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 20.06 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002112/0.3355, allocations: 1.319 MB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3365, allocations: 0.5064 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3366, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.3368, allocations: 7.922 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.3368, allocations: 11.88 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3371, allocations: 31.95 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3372, allocations: 79.72 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3374, allocations: 36.22 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3375, allocations: 35.84 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.3376, allocations: 31.78 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3376, allocations: 4 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.3377, allocations: 4 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.3377, allocations: 19.92 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.3378, allocations: 57.44 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.338, allocations: 91.89 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.338, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.338, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.338, allocations: 0 / 1.061 GB, free: 3.242 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.0005794/0.3386, allocations: 383.3 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3386, allocations: 8.031 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3387, allocations: 12.75 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.3389, allocations: 205.8 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3389, allocations: 4.375 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3389, allocations: 4.375 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.3392, allocations: 120.2 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3392, allocations: 0 / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3392, allocations: 0 / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3393, allocations: 4 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.3395, allocations: 107.9 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.3402, allocations: 388.4 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3403, allocations: 70.53 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3405, allocations: 60.95 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.3405, allocations: 7.984 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3406, allocations: 34.5 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.3406, allocations: 3.984 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004785/0.341, allocations: 181.5 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3411, allocations: 55.39 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3412, allocations: 137.8 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3412, allocations: 25.7 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.3413, allocations: 104 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3413, allocations: 15.88 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3414, allocations: 17.72 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3415, allocations: 318.8 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3416, allocations: 47.97 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3417, allocations: 47.91 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.342, allocations: 104.8 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.342, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002783/0.3423, allocations: 133.5 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3423, allocations: 5.719 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3423, allocations: 4 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3423, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3425, allocations: 23.86 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3425, allocations: 7.984 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.3426, allocations: 11.91 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3426, allocations: 448 / 1.063 GB, free: 428 kB / 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 9.394e-05/0.3427, allocations: 133.7 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3427, allocations: 7.906 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.3431, allocations: 154.3 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3431, allocations: 7.938 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3431, allocations: 0 / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3432, allocations: 0 / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3434, allocations: 205.5 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3434, allocations: 4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.3435, allocations: 19.92 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3435, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3435, allocations: 7.984 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3435, allocations: 3.938 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3435, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3439, allocations: 227.4 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.3439, allocations: 89 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3439, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.344, allocations: 15.94 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3441, allocations: 7.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.3441, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.3442, allocations: 107.2 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3442, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002562/0.3444, allocations: 12 kB / 1.064 GB, free: 15.33 MB / 0.8262 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.0001468/0.3446, allocations: 107.2 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3449, allocations: 107.9 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3449, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.345, allocations: 59.95 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3453, allocations: 9.719 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.3457, allocations: 256.9 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.346, allocations: 0.7004 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.498e-05/0.3461, allocations: 16.34 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.3461, allocations: 15.44 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3461, allocations: 0 / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of Templates: time 0.003093/0.3492, allocations: 0.6223 MB / 1.066 GB, free: 13.38 MB / 0.8262 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