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.001415/0.001415, allocations: 84.39 kB / 20.23 MB, free: 4.184 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.00156/0.00156, allocations: 161.3 kB / 23.54 MB, free: 0.8711 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.472e-06/1.472e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.18e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003136/0.003168, allocations: 1.603 MB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004362, allocations: 0.5752 MB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.004425, allocations: 0 / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.004553, allocations: 11.86 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.004601, allocations: 21.33 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.004898, allocations: 60.61 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.005054, allocations: 91.64 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.005184, allocations: 25.66 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.005353, allocations: 63.81 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.005431, allocations: 27.91 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.005454, allocations: 8 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.005539, allocations: 21.52 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.005585, allocations: 23.91 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.005634, allocations: 23.92 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005829, allocations: 107.5 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005832, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005832, allocations: 1.094 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005837, allocations: 0 / 0.8134 GB, free: 15.46 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.0006256/0.006463, allocations: 335.4 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.006502, allocations: 8.031 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.006831, allocations: 47.23 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.007106, allocations: 148.8 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.007117, allocations: 384 / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.007135, allocations: 8.375 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.007432, allocations: 110.7 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007446, allocations: 3.938 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.007461, allocations: 4.719 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007466, allocations: 0 / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.007721, allocations: 94.06 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.008346, allocations: 316.8 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.008524, allocations: 55.23 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.008654, allocations: 45.64 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.008696, allocations: 4.5 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.008733, allocations: 34.56 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.008734, allocations: 0.7812 kB / 0.8146 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0005413/0.009276, allocations: 170.9 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.009324, allocations: 57.09 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.009482, allocations: 141.8 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.009505, allocations: 25.7 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.009589, allocations: 108.2 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.009622, allocations: 19.86 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.009674, allocations: 22.64 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.009856, allocations: 322.8 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.009979, allocations: 37.19 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01008, allocations: 39.97 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.01034, allocations: 91.92 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01034, allocations: 0 / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000311/0.01065, allocations: 129.9 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01067, allocations: 4 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01067, allocations: 7.25 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01069, allocations: 0 / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01083, allocations: 19.97 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01084, allocations: 7.938 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.01091, allocations: 4 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.01093, allocations: 7.984 kB / 0.8157 GB, free: 12.93 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.0001162/0.01105, allocations: 121.8 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01109, allocations: 13.09 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.01149, allocations: 146.9 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01149, allocations: 0 / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.0115, allocations: 4.5 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.01151, allocations: 8.891 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.01171, allocations: 137.3 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01171, allocations: 0 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01182, allocations: 17.02 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.01182, allocations: 4 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01183, allocations: 4.797 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01183, allocations: 0 / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01184, allocations: 0.6562 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.01223, allocations: 232.2 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.01225, allocations: 13.09 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.01227, allocations: 0 / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01238, allocations: 11.98 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.01243, allocations: 8.938 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.01245, allocations: 16.05 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.01254, allocations: 105.3 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01254, allocations: 1.062 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002473/0.01278, allocations: 15.95 kB / 0.8166 GB, free: 12.03 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.0001765/0.01296, allocations: 108.3 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.01327, allocations: 96.88 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01327, allocations: 0 / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01341, allocations: 49.94 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01364, allocations: 8 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.01417, allocations: 232.9 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.01427, allocations: 85.97 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.01434, allocations: 13.17 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.01438, allocations: 20.48 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.01438, allocations: 1.094 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.003537/0.01792, allocations: 0.7047 MB / 0.8178 GB, free: 10.69 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] 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: 7.651765728951432]