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.0009947/0.0009947, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001468/0.001468, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9878/0.9878, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.879/1.879, allocations: 359 MB / 0.6052 GB, free: 11 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.753e-06/1.753e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.546e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002325/0.002351, allocations: 1.644 MB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.003252, allocations: 0.5824 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.003328, allocations: 4.688 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.00344, allocations: 7.875 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.003473, allocations: 21.11 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.003789, allocations: 69.03 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003923, allocations: 87.64 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.00406, allocations: 31.97 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.004212, allocations: 57.25 kB / 0.7895 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.004277, allocations: 35.89 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.004296, allocations: 8 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.004365, allocations: 17.17 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.004401, allocations: 19.92 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.004439, allocations: 31.91 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.004582, allocations: 79.61 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004584, allocations: 0.625 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004585, allocations: 1.406 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.004591, allocations: 0 / 0.7897 GB, free: 9.746 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.0004249/0.005016, allocations: 432.1 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.005055, allocations: 13.03 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.005231, allocations: 40.83 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.005409, allocations: 147.8 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005421, allocations: 5.438 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.005436, allocations: 4.375 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.005602, allocations: 98.83 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.005615, allocations: 4.438 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005625, allocations: 1.594 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.005635, allocations: 7.938 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.005689, allocations: 23.98 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.006121, allocations: 348.8 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.00618, allocations: 35.06 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.006216, allocations: 23.67 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.006252, allocations: 11.06 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.006275, allocations: 37.39 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.006277, allocations: 0 / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002045/0.006482, allocations: 77.62 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.006513, allocations: 55.41 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.72e-05/0.006611, allocations: 199.7 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.006624, allocations: 29.7 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.00668, allocations: 150.9 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.006705, allocations: 20.5 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.006741, allocations: 27.38 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.006861, allocations: 0.49 MB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.006893, allocations: 19.92 kB / 0.7919 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.183e-05/0.006915, allocations: 8 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.932e-05/0.006974, allocations: 35.67 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006976, allocations: 1.375 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.742e-05/0.007073, allocations: 65.64 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007087, allocations: 5.719 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007092, allocations: 0 / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.007107, allocations: 1.156 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.0072, allocations: 19.92 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007207, allocations: 5.031 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.385e-05/0.007241, allocations: 15.94 kB / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.007259, allocations: 4 kB / 0.7921 GB, free: 7.133 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.791e-05/0.007327, allocations: 154.3 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007351, allocations: 15.95 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.007508, allocations: 78.88 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00751, allocations: 0 / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.007516, allocations: 13.19 kB / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007519, allocations: 0 / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.007643, allocations: 140.6 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007645, allocations: 4.547 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.007693, allocations: 23.86 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007695, allocations: 1.531 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007703, allocations: 0 / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007705, allocations: 0 / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007706, allocations: 4 kB / 0.7925 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.007848, allocations: 220.3 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.007862, allocations: 17.58 kB / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.007875, allocations: 0 / 0.7927 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.007917, allocations: 4 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.00796, allocations: 3.984 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.007969, allocations: 11.94 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.008021, allocations: 149.6 kB / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008021, allocations: 0 / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005104/0.008531, allocations: 16.48 kB / 0.7929 GB, free: 6.234 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.0001257/0.008657, allocations: 107.8 kB / 0.793 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.008773, allocations: 36.2 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008775, allocations: 1.312 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.008808, allocations: 31.61 kB / 0.7931 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.008976, allocations: 8 kB / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.009517, allocations: 208 kB / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.009555, allocations: 64.28 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.009598, allocations: 17.31 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.009632, allocations: 16.48 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.009633, allocations: 0 / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.002647/0.01228, allocations: 0.7256 MB / 0.7941 GB, free: 4.996 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.19690707186237]