Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 168.2 kB / 24.86 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9854/0.9854, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.798/1.798, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7883 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.513e-05, allocations: 5.984 kB / 0.7883 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002161/0.002186, allocations: 1.646 MB / 0.7899 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.00298, allocations: 0.5699 MB / 0.7905 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.00305, allocations: 3.938 kB / 0.7905 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.003164, allocations: 21.36 kB / 0.7905 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.881e-05/0.003193, allocations: 11.86 kB / 0.7905 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.003494, allocations: 65.95 kB / 0.7906 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.003625, allocations: 87.64 kB / 0.7907 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.003748, allocations: 35.95 kB / 0.7907 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.003876, allocations: 55.83 kB / 0.7908 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.003938, allocations: 39.88 kB / 0.7908 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.003956, allocations: 6.062 kB / 0.7908 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.00402, allocations: 15.94 kB / 0.7908 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.004057, allocations: 27.91 kB / 0.7908 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.004087, allocations: 23.92 kB / 0.7909 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.004214, allocations: 79.66 kB / 0.7909 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004217, allocations: 3.984 kB / 0.7909 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004218, allocations: 1.562 kB / 0.7909 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004222, allocations: 0 / 0.7909 GB, free: 9.352 MB / 0.7448 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.0003616/0.004584, allocations: 432.1 kB / 0.7914 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.004615, allocations: 8.031 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.004782, allocations: 46.56 kB / 0.7914 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.00493, allocations: 141 kB / 0.7915 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.004938, allocations: 1.406 kB / 0.7915 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004948, allocations: 8.375 kB / 0.7916 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005066, allocations: 91.34 kB / 0.7916 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005075, allocations: 3.938 kB / 0.7916 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.005083, allocations: 4.531 kB / 0.7916 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.005088, allocations: 9.109 kB / 0.7917 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.005124, allocations: 22.66 kB / 0.7917 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.005455, allocations: 322.7 kB / 0.792 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.005502, allocations: 38.98 kB / 0.792 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.005524, allocations: 11.69 kB / 0.792 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.005553, allocations: 7.984 kB / 0.792 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.005572, allocations: 37.39 kB / 0.7921 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.005573, allocations: 0 / 0.7921 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001512/0.005725, allocations: 70.48 kB / 0.7921 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.005895, allocations: 51.41 kB / 0.7922 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.005975, allocations: 201.9 kB / 0.7924 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.005984, allocations: 27.36 kB / 0.7924 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.006034, allocations: 158.8 kB / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.00606, allocations: 27.78 kB / 0.7926 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.00609, allocations: 23.36 kB / 0.7926 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.006196, allocations: 0.4962 MB / 0.7931 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.006215, allocations: 4.656 kB / 0.7931 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.006232, allocations: 11.98 kB / 0.7931 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.006276, allocations: 29.12 kB / 0.7931 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006278, allocations: 0 / 0.7931 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.282e-05/0.006361, allocations: 62.8 kB / 0.7932 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006373, allocations: 7.984 kB / 0.7932 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006377, allocations: 4 kB / 0.7932 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.006385, allocations: 5.312 kB / 0.7932 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.006458, allocations: 15.98 kB / 0.7932 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.00646, allocations: 0 / 0.7932 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.006489, allocations: 11.89 kB / 0.7932 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.006503, allocations: 0.8438 kB / 0.7932 GB, free: 6.816 MB / 0.7448 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 6.585e-05/0.006568, allocations: 161.4 kB / 0.7934 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.00659, allocations: 11.94 kB / 0.7934 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.006721, allocations: 78.44 kB / 0.7935 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006723, allocations: 1.281 kB / 0.7935 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.006725, allocations: 7.938 kB / 0.7935 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.006729, allocations: 3.938 kB / 0.7935 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.006835, allocations: 118.1 kB / 0.7936 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006836, allocations: 0 / 0.7936 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.006881, allocations: 20.89 kB / 0.7936 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.006883, allocations: 0 / 0.7936 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.00689, allocations: 4 kB / 0.7936 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006891, allocations: 5.453 kB / 0.7936 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006892, allocations: 0 / 0.7936 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.007007, allocations: 220 kB / 0.7938 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007017, allocations: 7.891 kB / 0.7939 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.007029, allocations: 5.281 kB / 0.7939 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.007068, allocations: 3.984 kB / 0.7939 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.007103, allocations: 15.92 kB / 0.7939 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.00711, allocations: 7.062 kB / 0.7939 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.007155, allocations: 147.1 kB / 0.794 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007155, allocations: 0 / 0.794 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001606/0.007316, allocations: 19.95 kB / 0.794 GB, free: 5.945 MB / 0.7448 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.0001087/0.007425, allocations: 95.25 kB / 0.7941 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.007509, allocations: 31.67 kB / 0.7942 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007511, allocations: 0 / 0.7942 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.007541, allocations: 36.09 kB / 0.7942 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.007696, allocations: 5.938 kB / 0.7942 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.008119, allocations: 198.7 kB / 0.7944 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.008156, allocations: 68.36 kB / 0.7945 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.008189, allocations: 12.58 kB / 0.7945 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.008239, allocations: 82.19 kB / 0.7946 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.00824, allocations: 0.5 kB / 0.7946 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.002424/0.01066, allocations: 0.7906 MB / 0.7953 GB, free: 4.594 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.036517697852105]