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.001009/0.001009, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.004313/0.004313, allocations: 169 kB / 24.27 MB, free: 280 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.871/1.871, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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.445e-06/2.445e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.897e-05, allocations: 6.812 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002167/0.002196, allocations: 1.634 MB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.002999, allocations: 0.5818 MB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.003076, allocations: 7.938 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003187, allocations: 16.42 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.003215, allocations: 13.16 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.00352, allocations: 67.78 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.003651, allocations: 85.58 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.003798, allocations: 27.98 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.003941, allocations: 63.81 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.004007, allocations: 31.89 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.004025, allocations: 5.969 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.004092, allocations: 19.98 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.004132, allocations: 19.92 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.004168, allocations: 27.91 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004313, allocations: 79.61 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004315, allocations: 0 / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.348e-06/0.00432, allocations: 4.625 kB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.004325, allocations: 0.5312 kB / 0.8142 GB, free: 15.37 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.0004146/0.00474, allocations: 436.9 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.004776, allocations: 8.031 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.004956, allocations: 42.8 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.005127, allocations: 156.9 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.005139, allocations: 8.375 kB / 0.8148 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.00515, allocations: 8.844 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.005308, allocations: 94.33 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005317, allocations: 3.938 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005328, allocations: 4 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005336, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.00539, allocations: 25.14 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.005902, allocations: 344.9 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.005956, allocations: 31.06 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.005991, allocations: 23.8 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.006023, allocations: 7.938 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.006041, allocations: 34.3 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.006042, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001906/0.006233, allocations: 82.41 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.006268, allocations: 51.41 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.006362, allocations: 204.9 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006374, allocations: 25.7 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.006426, allocations: 154.9 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.006451, allocations: 24.64 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.006484, allocations: 27.36 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.006594, allocations: 0.4884 MB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.006622, allocations: 9.328 kB / 0.8164 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.006644, allocations: 11.94 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.006703, allocations: 35.67 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006705, allocations: 1.188 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.185e-05/0.006797, allocations: 69.64 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006809, allocations: 4 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006813, allocations: 1.875 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006825, allocations: 0 / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.006905, allocations: 16.42 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.006911, allocations: 7.875 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.006938, allocations: 11.94 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.006956, allocations: 6.469 kB / 0.8165 GB, free: 12.76 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 6.738e-05/0.007023, allocations: 160.6 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.007044, allocations: 11.95 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.00719, allocations: 82.44 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.007196, allocations: 0 / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.007201, allocations: 7.875 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007205, allocations: 0.5 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.007317, allocations: 145.1 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007317, allocations: 1.344 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.007363, allocations: 19.92 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007365, allocations: 0 / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.007374, allocations: 4 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007376, allocations: 4.766 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.007376, allocations: 0 / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.007496, allocations: 224.5 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-06/0.007506, allocations: 15.84 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007518, allocations: 0.6562 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.007558, allocations: 7.156 kB / 0.8172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.007599, allocations: 11.98 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.007605, allocations: 3.938 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.007656, allocations: 149 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007656, allocations: 0 / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001535/0.007809, allocations: 12 kB / 0.8173 GB, free: 11.85 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.0001026/0.007912, allocations: 107.2 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.008017, allocations: 46.06 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.008018, allocations: 0 / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.008052, allocations: 27.88 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.008218, allocations: 11.98 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.008693, allocations: 211.6 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.00873, allocations: 63.34 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.008768, allocations: 13.03 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.008796, allocations: 21.58 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.008797, allocations: 4 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of Templates: time 0.0023/0.0111, allocations: 0.715 MB / 0.8185 GB, free: 10.6 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.077094782143831]