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.00146/0.00146, allocations: 81.95 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.001565/0.001565, allocations: 161 kB / 24.86 MB, free: 8.879 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.9877/0.9877, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.773e-06/1.773e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.782e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002786/0.002813, allocations: 1.645 MB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.00367, allocations: 0.5785 MB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.003746, allocations: 3.938 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.003869, allocations: 13.2 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.003907, allocations: 19.8 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.004241, allocations: 69.38 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.004394, allocations: 83.7 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004536, allocations: 31.91 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.004701, allocations: 63.77 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.004771, allocations: 33.58 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00479, allocations: 8 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.004864, allocations: 19.98 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.004903, allocations: 19.91 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.004937, allocations: 24.83 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005083, allocations: 83.66 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005087, allocations: 0.5312 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.103e-06/0.005088, allocations: 0 / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005092, allocations: 0.6875 kB / 0.8154 GB, free: 14.76 MB / 0.7761 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.0004485/0.005541, allocations: 424.7 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.005578, allocations: 13.28 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.005798, allocations: 48.75 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005981, allocations: 153.5 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.005994, allocations: 5.75 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.006006, allocations: 8.375 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.006152, allocations: 80.55 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.006161, allocations: 5.094 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006176, allocations: 8 kB / 0.8161 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.006184, allocations: 4 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.006233, allocations: 25.06 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.006659, allocations: 308.2 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.006721, allocations: 39.83 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.006754, allocations: 19.67 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.006781, allocations: 4.844 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.006804, allocations: 37.52 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006805, allocations: 1.281 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001856/0.006991, allocations: 73.56 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.007024, allocations: 55.41 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.007129, allocations: 188.4 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.007143, allocations: 29.7 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.007208, allocations: 158.8 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.007244, allocations: 25 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.007287, allocations: 31.36 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.007421, allocations: 0.4884 MB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.007448, allocations: 13.3 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.007468, allocations: 4 kB / 0.8176 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.007527, allocations: 31.67 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007529, allocations: 1.594 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001109/0.007639, allocations: 65.58 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.007652, allocations: 4 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007657, allocations: 0 / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.007666, allocations: 0 / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.00775, allocations: 18.73 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007752, allocations: 3.938 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.007791, allocations: 15.88 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.00781, allocations: 11.98 kB / 0.8177 GB, free: 12.21 MB / 0.7761 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 7.65e-05/0.007887, allocations: 152.6 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.007917, allocations: 12.39 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.00808, allocations: 86.88 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008082, allocations: 0.5312 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008084, allocations: 0 / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.008088, allocations: 5.875 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.008242, allocations: 125.2 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008244, allocations: 0 / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.008303, allocations: 15.98 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008306, allocations: 0 / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008314, allocations: 4.906 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008316, allocations: 0 / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008317, allocations: 0.6562 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.00848, allocations: 219.8 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.008494, allocations: 16.5 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.008508, allocations: 0 / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.00857, allocations: 10.88 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.00861, allocations: 7.984 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.008618, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.008676, allocations: 149.5 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008676, allocations: 0 / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002331/0.008909, allocations: 20 kB / 0.8185 GB, free: 11.35 MB / 0.7761 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.0001328/0.009042, allocations: 97.91 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.00915, allocations: 39.66 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009152, allocations: 3.938 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.009186, allocations: 19.69 kB / 0.8187 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.009402, allocations: 10.34 kB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.009908, allocations: 208 kB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.009956, allocations: 68.47 kB / 0.8189 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.009998, allocations: 15.92 kB / 0.8189 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.01006, allocations: 71.23 kB / 0.819 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01006, allocations: 0 / 0.819 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.002888/0.01295, allocations: 0.8004 MB / 0.8198 GB, free: 9.988 MB / 0.7761 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: 5.281681872904301]