Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001107/0.001107, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009533/0.0009533, allocations: 165 kB / 24.16 MB, free: 332 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.9307/0.9307, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.306e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004152/0.004165, allocations: 1.665 MB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.004883, allocations: 0.588 MB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.004939, allocations: 4.922 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.848e-05/0.005038, allocations: 15.86 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.005071, allocations: 12.61 kB / 0.7622 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.00531, allocations: 68.55 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.005431, allocations: 93.59 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.005536, allocations: 33.52 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.005652, allocations: 59.81 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.005717, allocations: 31.95 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.005733, allocations: 4.656 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.005791, allocations: 15.98 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.005826, allocations: 29.17 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.005856, allocations: 23.92 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.005976, allocations: 75.72 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005978, allocations: 0 / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005979, allocations: 1.344 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.005982, allocations: 4 kB / 0.7627 GB, free: 3.941 MB / 0.7136 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.0003362/0.006318, allocations: 308.4 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.006348, allocations: 9.281 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.0065, allocations: 36.89 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.006636, allocations: 143.4 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.006646, allocations: 4.375 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.006659, allocations: 9.125 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006782, allocations: 85.67 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.006791, allocations: 4.469 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.0068, allocations: 4.812 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.006807, allocations: 4 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.006841, allocations: 25.05 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.007144, allocations: 225.7 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.007197, allocations: 67.7 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.007219, allocations: 16.98 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.007244, allocations: 4 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.007267, allocations: 35.27 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.007268, allocations: 0 / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001358/0.007404, allocations: 70.38 kB / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.007434, allocations: 51.41 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.007505, allocations: 141.3 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.007516, allocations: 25.7 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.007552, allocations: 102.2 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.007572, allocations: 23.92 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.007601, allocations: 21.7 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.007677, allocations: 322.8 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.007693, allocations: 10.81 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.007707, allocations: 5.656 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.007748, allocations: 30.5 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00775, allocations: 0 / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.066e-05/0.007811, allocations: 65.55 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.007823, allocations: 10.19 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.007826, allocations: 3.25 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.007837, allocations: 0 / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.007901, allocations: 11.98 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.007903, allocations: 4 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.007928, allocations: 11.89 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.00794, allocations: 3.984 kB / 0.7645 GB, free: 1.938 MB / 0.7136 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 5.599e-05/0.007996, allocations: 116.7 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.008012, allocations: 11.03 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.00812, allocations: 74.88 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008121, allocations: 0 / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008123, allocations: 0 / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008125, allocations: 0 / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.008218, allocations: 93.8 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008218, allocations: 0 / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.008257, allocations: 15.98 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.008258, allocations: 1.5 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.008263, allocations: 0 / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.008263, allocations: 4 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008264, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.008357, allocations: 207.5 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.008367, allocations: 11.89 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.008377, allocations: 0 / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.008415, allocations: 11.97 kB / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.008445, allocations: 9.281 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.008451, allocations: 3.984 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2e-05/0.008471, allocations: 26.53 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008471, allocations: 0.6562 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001226/0.008593, allocations: 23.89 kB / 0.7651 GB, free: 1.293 MB / 0.7136 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 8.558e-05/0.008679, allocations: 81.69 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.725e-05/0.008746, allocations: 32.78 kB / 0.7652 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008748, allocations: 5 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.008771, allocations: 24.84 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.008875, allocations: 10.56 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.009241, allocations: 214.6 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.009273, allocations: 67.34 kB / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.009298, allocations: 7.125 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.009337, allocations: 63.3 kB / 0.7655 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.009338, allocations: 0 / 0.7655 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of Templates: time 0.001981/0.01132, allocations: 0.6974 MB / 0.7662 GB, free: 88 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.975852895062417]