Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001064/0.001064, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.00267, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001046/0.001046, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002454, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/1.122, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2447/2.662, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.205e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001971/0.001993, allocations: 1.705 MB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.00274, allocations: 0.6036 MB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.0028, allocations: 0 / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.002866, allocations: 11.86 kB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.002893, allocations: 23.75 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.003057, allocations: 63.84 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003173, allocations: 79.72 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003279, allocations: 31.84 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.003415, allocations: 67.88 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.003481, allocations: 35.91 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.003497, allocations: 4 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.003574, allocations: 19.97 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.003608, allocations: 19.94 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.003635, allocations: 23.94 kB / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.003754, allocations: 71.62 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.003765, allocations: 0 / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003766, allocations: 4 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.003779, allocations: 0 / 0.8216 GB, free: 15.69 MB / 0.8073 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.0003854/0.004164, allocations: 324 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.004191, allocations: 8.031 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.004401, allocations: 122 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.004555, allocations: 152.4 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004565, allocations: 4.375 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004578, allocations: 4.375 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.004704, allocations: 89.73 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004711, allocations: 3.938 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.004718, allocations: 0 / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004723, allocations: 0 / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.004755, allocations: 18.39 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.005037, allocations: 233.7 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.00509, allocations: 74.47 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.00511, allocations: 12.86 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.005136, allocations: 3.938 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.005157, allocations: 38.5 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005159, allocations: 0 / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001339/0.005292, allocations: 61.8 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005317, allocations: 51.41 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.005388, allocations: 138.6 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.005399, allocations: 29.69 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.005432, allocations: 104 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.005453, allocations: 23.83 kB / 0.8231 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.005482, allocations: 21.72 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.005695, allocations: 322.8 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.005716, allocations: 14.81 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.005732, allocations: 8.312 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.005775, allocations: 38.48 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005777, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.797e-05/0.005845, allocations: 61.66 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005857, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.005861, allocations: 0 / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005873, allocations: 4 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.005952, allocations: 19.98 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.005955, allocations: 0 / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.00598, allocations: 15.86 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.005994, allocations: 3.938 kB / 0.8235 GB, free: 13.54 MB / 0.8073 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 5.374e-05/0.006048, allocations: 116.7 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.006064, allocations: 4 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.006173, allocations: 74.39 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006175, allocations: 0 / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006177, allocations: 0 / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.00618, allocations: 7.984 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.006275, allocations: 85.81 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006277, allocations: 0 / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.006324, allocations: 19.98 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-06/0.006333, allocations: 11.89 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006335, allocations: 7.984 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.00634, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006342, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006342, allocations: 4.062 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.00644, allocations: 206.2 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006451, allocations: 4 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.006489, allocations: 8 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.006519, allocations: 3.984 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006525, allocations: 4 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.405e-05/0.006549, allocations: 39.25 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006549, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001257/0.006675, allocations: 19.88 kB / 0.8241 GB, free: 12.88 MB / 0.8073 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.000101/0.006776, allocations: 80.36 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.006847, allocations: 32.84 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.006853, allocations: 4 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.006885, allocations: 24.84 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.007009, allocations: 21.39 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.007842, allocations: 214.6 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.007876, allocations: 63.34 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.007905, allocations: 7.984 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.007948, allocations: 59.38 kB / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of SimCode: time 6.32e-07/0.007948, allocations: 0 / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.002233/0.01018, allocations: 0.7186 MB / 0.8253 GB, free: 11.61 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.242712480947375]