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.001344/0.001344, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001507/0.001507, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.916/0.916, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 10.98 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.102e-06/1.102e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.878e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001891/0.001909, allocations: 1.645 MB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.002625, allocations: 0.575 MB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.002689, allocations: 3.938 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.002799, allocations: 11.86 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.002829, allocations: 17.66 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.003098, allocations: 67.78 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.003216, allocations: 87.69 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.003335, allocations: 27.97 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.003517, allocations: 68.28 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.003575, allocations: 33.36 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003593, allocations: 8 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.003651, allocations: 19.98 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.003683, allocations: 15.92 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.003714, allocations: 25.67 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003839, allocations: 83.66 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003841, allocations: 0 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003842, allocations: 0 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003846, allocations: 1.094 kB / 0.7897 GB, free: 10.07 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.0003836/0.004229, allocations: 432.1 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.004262, allocations: 8.031 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.004442, allocations: 50.47 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004596, allocations: 141 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.004608, allocations: 14.97 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.00462, allocations: 8.359 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.004766, allocations: 90.86 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004774, allocations: 3.938 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004785, allocations: 4 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.004792, allocations: 4 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.004847, allocations: 24.64 kB / 0.7905 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.00521, allocations: 344 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.005264, allocations: 40.7 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.0053, allocations: 15.69 kB / 0.7908 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.005332, allocations: 12.11 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.005353, allocations: 37.39 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.005354, allocations: 0.5625 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001781/0.005532, allocations: 77.58 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.00556, allocations: 51.91 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.005652, allocations: 204.4 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.005663, allocations: 25.7 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.005714, allocations: 156 kB / 0.7914 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.005738, allocations: 23.8 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005769, allocations: 23.36 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.005879, allocations: 0.4923 MB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.005904, allocations: 13.38 kB / 0.7919 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.005925, allocations: 7.984 kB / 0.7919 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.00598, allocations: 35.69 kB / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005982, allocations: 0.8438 kB / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.74e-05/0.006069, allocations: 69.56 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.006082, allocations: 8.844 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.006085, allocations: 0 / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006096, allocations: 0 / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.006173, allocations: 21.27 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006179, allocations: 3.938 kB / 0.7921 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.006205, allocations: 12.33 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.006224, allocations: 0.8438 kB / 0.7921 GB, free: 7.461 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.321e-05/0.006287, allocations: 161.7 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.006306, allocations: 11.95 kB / 0.7922 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.006441, allocations: 90.38 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006442, allocations: 1.375 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.006446, allocations: 3.938 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006448, allocations: 0 / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.006559, allocations: 144.6 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006559, allocations: 1.5 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.006602, allocations: 15.98 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006604, allocations: 0 / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00661, allocations: 0 / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006611, allocations: 2.844 kB / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006612, allocations: 0 / 0.7925 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.006738, allocations: 231.8 kB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006746, allocations: 7.891 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.006759, allocations: 4 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.006798, allocations: 3.984 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.006836, allocations: 7.984 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.006845, allocations: 12.44 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.006895, allocations: 141.2 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006895, allocations: 0.5 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001546/0.00705, allocations: 21.89 kB / 0.7929 GB, free: 6.559 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 9.772e-05/0.007148, allocations: 103.2 kB / 0.793 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.007252, allocations: 39.61 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007253, allocations: 0 / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.007285, allocations: 29.02 kB / 0.7931 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.007444, allocations: 9.875 kB / 0.7931 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.007917, allocations: 208.1 kB / 0.7933 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.007954, allocations: 70.17 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.007993, allocations: 19.97 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.008022, allocations: 20.44 kB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.008022, allocations: 0 / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.002206/0.01023, allocations: 0.7286 MB / 0.7941 GB, free: 5.297 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.033612668979913]