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.001272/0.001272, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001284/0.001284, allocations: 181 kB / 24.09 MB, free: 416 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.9774/0.9774, allocations: 177.1 MB / 204.5 MB, free: 5.465 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 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.406 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 2.014e-06/2.014e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.557e-05, allocations: 3.594 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002761/0.002787, allocations: 1.644 MB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.00402, allocations: 0.5758 MB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.004105, allocations: 4 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.004218, allocations: 11.86 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.004266, allocations: 17.67 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.004589, allocations: 71.78 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.004722, allocations: 83.64 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004842, allocations: 33.53 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.004981, allocations: 63.75 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.005042, allocations: 31.91 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.005059, allocations: 4 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.005124, allocations: 17.33 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.005161, allocations: 27.91 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.005187, allocations: 19.94 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.005307, allocations: 87.58 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005309, allocations: 1.594 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00531, allocations: 4 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.005314, allocations: 0 / 0.8146 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.0003513/0.005665, allocations: 430.3 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.005703, allocations: 8.031 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.005864, allocations: 44.81 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.006, allocations: 153 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.006008, allocations: 0.9062 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.006018, allocations: 13.09 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.006144, allocations: 82.8 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.006152, allocations: 4.469 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.006161, allocations: 5.625 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.006165, allocations: 0 / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.006198, allocations: 19.98 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.006522, allocations: 316.7 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.006572, allocations: 36.38 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.006595, allocations: 19.67 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.006627, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.00665, allocations: 38.55 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006651, allocations: 0 / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001522/0.006803, allocations: 81.62 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.006831, allocations: 56.78 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.006918, allocations: 187.6 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.00693, allocations: 25.7 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.006984, allocations: 159.8 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.00701, allocations: 31.77 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.007042, allocations: 19.38 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007161, allocations: 0.4968 MB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.007181, allocations: 7.984 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.007198, allocations: 9 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.00724, allocations: 23.69 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007242, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.084e-05/0.007323, allocations: 70.84 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.007334, allocations: 8 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007338, allocations: 1.562 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.007346, allocations: 0 / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.007416, allocations: 15.98 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007421, allocations: 4 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.007449, allocations: 12.86 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.00747, allocations: 11.97 kB / 0.8169 GB, free: 12.22 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.345e-05/0.007544, allocations: 158.7 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.007563, allocations: 7.953 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.007956, allocations: 82.38 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007958, allocations: 4 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007959, allocations: 0 / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.007963, allocations: 6.188 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.00808, allocations: 121.2 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.008083, allocations: 3.984 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.008129, allocations: 11.98 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008131, allocations: 4 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.008137, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008138, allocations: 0.5 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008139, allocations: 0.5312 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.008257, allocations: 223.8 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.008266, allocations: 17.78 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.008277, allocations: 0 / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.008315, allocations: 7.938 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.008348, allocations: 7.984 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.008355, allocations: 4 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.008403, allocations: 150 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008403, allocations: 0.5625 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001571/0.00856, allocations: 20.66 kB / 0.8177 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.0001255/0.008685, allocations: 95.91 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.57e-05/0.008771, allocations: 47.12 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.008773, allocations: 0 / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.008799, allocations: 27.67 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.008954, allocations: 0 / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.009407, allocations: 210.6 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009447, allocations: 67.34 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.009479, allocations: 14.14 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.00953, allocations: 74.2 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.00953, allocations: 0 / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002358/0.01189, allocations: 0.7784 MB / 0.819 GB, free: 10.01 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.218084095977247]