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.002396/0.002396, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002846/0.002846, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.103/3.103, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.664e-06/1.664e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.946e-05, allocations: 3.625 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003346/0.003375, allocations: 1.626 MB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004577, allocations: 0.583 MB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.004657, allocations: 3.938 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.004768, allocations: 12.5 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.004816, allocations: 13.27 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.005148, allocations: 67.72 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.005308, allocations: 88.86 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.005436, allocations: 27.97 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.005617, allocations: 55.83 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.005701, allocations: 32.58 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.005727, allocations: 8.906 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.005809, allocations: 23.92 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.005857, allocations: 23.91 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.005908, allocations: 24.58 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.006129, allocations: 103.6 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006131, allocations: 0.8438 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006132, allocations: 0 / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.006137, allocations: 1.25 kB / 0.8134 GB, free: 15.4 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.0006239/0.006761, allocations: 435.8 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.006794, allocations: 8.031 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.007104, allocations: 38.83 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.007341, allocations: 152.9 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.007357, allocations: 8.375 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.007371, allocations: 5.375 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.007601, allocations: 82.2 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.007612, allocations: 5.469 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.007625, allocations: 4 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00763, allocations: 0 / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.007808, allocations: 56.88 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.00846, allocations: 356.2 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.008595, allocations: 47.67 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.008686, allocations: 32.48 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.00873, allocations: 7.984 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.008776, allocations: 42.02 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.008778, allocations: 0 / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004251/0.009203, allocations: 110.6 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.009254, allocations: 59.94 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.009437, allocations: 212.5 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.009461, allocations: 27.05 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.009777, allocations: 154.9 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.009807, allocations: 23.8 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.009868, allocations: 32.52 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000273/0.01014, allocations: 0.4962 MB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.01023, allocations: 19.98 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.0103, allocations: 20.52 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01047, allocations: 52.52 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01047, allocations: 5.688 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002378/0.01071, allocations: 97.92 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01072, allocations: 4 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01072, allocations: 1.938 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01074, allocations: 64 / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.01087, allocations: 19.98 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01088, allocations: 3.938 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.01094, allocations: 11.95 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01096, allocations: 8.797 kB / 0.816 GB, free: 12.62 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 0.0001251/0.01109, allocations: 167.9 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.01113, allocations: 11.94 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.01143, allocations: 106.4 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01144, allocations: 4 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.01145, allocations: 3.938 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01145, allocations: 0 / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.01166, allocations: 156.6 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01166, allocations: 0 / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.01176, allocations: 16.61 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01176, allocations: 0 / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01177, allocations: 8.484 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.01178, allocations: 5.578 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01178, allocations: 0 / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01212, allocations: 247.8 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01214, allocations: 11.94 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01216, allocations: 0.9062 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.01224, allocations: 4 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.01229, allocations: 5.672 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01231, allocations: 12.06 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001118/0.01242, allocations: 153.4 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01242, allocations: 0 / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002381/0.01266, allocations: 23.89 kB / 0.8169 GB, free: 11.64 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.0001753/0.01284, allocations: 101 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01308, allocations: 71.58 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01308, allocations: 1.344 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01318, allocations: 35.67 kB / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.0134, allocations: 8.75 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.01389, allocations: 210.6 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01399, allocations: 92.36 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.566e-05/0.01405, allocations: 11.42 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.01409, allocations: 20.48 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 8.92e-07/0.01409, allocations: 0 / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.00373/0.01782, allocations: 0.7158 MB / 0.8181 GB, free: 10.35 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.041474118013866]