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.0009405/0.0009405, allocations: 87.58 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.0009122/0.0009122, allocations: 161 kB / 23.82 MB, free: 0.75 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.8953/0.8953, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.678/1.678, 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.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.484e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002815/0.00284, allocations: 1.646 MB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003912, allocations: 0.5792 MB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.003989, allocations: 4 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004115, allocations: 7.875 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.004167, allocations: 24.78 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.004528, allocations: 65.3 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.004693, allocations: 91.58 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.004846, allocations: 31.95 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.005028, allocations: 57.48 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.005112, allocations: 35.89 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.005136, allocations: 4 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.005213, allocations: 15.98 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.005261, allocations: 27.91 kB / 0.7896 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.005302, allocations: 25.52 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005476, allocations: 79.66 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005479, allocations: 4 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.82e-07/0.00548, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005485, allocations: 1.656 kB / 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.0005056/0.00599, allocations: 432.1 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.006031, allocations: 8.031 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.006291, allocations: 43.42 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006489, allocations: 145 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.006502, allocations: 4.375 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.006519, allocations: 12.31 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.006735, allocations: 94.84 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.006746, allocations: 4.594 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.006758, allocations: 0 / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.006768, allocations: 1.5 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.006848, allocations: 35.48 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.007382, allocations: 340 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.00747, allocations: 36.41 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.007527, allocations: 19.67 kB / 0.7909 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.007572, allocations: 4 kB / 0.7909 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.007603, allocations: 37.52 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.007605, allocations: 1.156 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002708/0.007875, allocations: 85.75 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.007913, allocations: 51.41 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.008045, allocations: 201.1 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.008063, allocations: 29.7 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.008138, allocations: 154.9 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.008169, allocations: 21.55 kB / 0.7914 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.008218, allocations: 23.38 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004314/0.00865, allocations: 0.4923 MB / 0.7919 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.008693, allocations: 8.047 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.008725, allocations: 19.94 kB / 0.792 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/0.008805, allocations: 36.14 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.008807, allocations: 0 / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001428/0.00895, allocations: 70.64 kB / 0.7921 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.008965, allocations: 4 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.00897, allocations: 3.469 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.008985, allocations: 4 kB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.009106, allocations: 11.98 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.009113, allocations: 7.938 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.009158, allocations: 7.938 kB / 0.7921 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.009178, allocations: 8 kB / 0.7921 GB, free: 7.141 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 8.176e-05/0.00926, allocations: 160.5 kB / 0.7923 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.009295, allocations: 7.953 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.009501, allocations: 87 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009504, allocations: 0 / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009508, allocations: 5.844 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009512, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.009681, allocations: 144.6 kB / 0.7925 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.009686, allocations: 8.234 kB / 0.7925 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.009769, allocations: 11.98 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.009775, allocations: 10.06 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.009785, allocations: 0 / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009786, allocations: 0 / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.00979, allocations: 3.938 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.009984, allocations: 219.8 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.009999, allocations: 12.42 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01002, allocations: 4 kB / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.0101, allocations: 4.531 kB / 0.7928 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.01015, allocations: 8.703 kB / 0.7928 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.01016, allocations: 3.938 kB / 0.7928 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.481e-05/0.01024, allocations: 153.8 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01024, allocations: 0.9062 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002792/0.01052, allocations: 15.95 kB / 0.7929 GB, free: 6.238 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.0001266/0.01064, allocations: 96.09 kB / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01079, allocations: 44.95 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01079, allocations: 3.938 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.01085, allocations: 31.67 kB / 0.7931 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.0111, allocations: 4 kB / 0.7931 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.01184, allocations: 217.5 kB / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.01189, allocations: 63.34 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.111e-05/0.01195, allocations: 11.98 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.012, allocations: 17.36 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.012, allocations: 0 / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.003352/0.01535, allocations: 0.7625 MB / 0.7941 GB, free: 4.953 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: 4.716366878245026]