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.001116/0.001116, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.002773, allocations: 435.8 kB / 10.33 MB, free: 368 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.001224/0.001224, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.00292, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.029/1.029, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.133, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.402/2.402, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2362/2.639, allocations: 145.9 MB / 0.817 GB, free: 4.234 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.412e-06/1.412e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.387e-06/1.08e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001758/0.001769, allocations: 1.703 MB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.002405, allocations: 0.5959 MB / 0.8206 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.002458, allocations: 7.938 kB / 0.8206 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.002511, allocations: 11.86 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.002539, allocations: 19.86 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.002703, allocations: 59.8 kB / 0.8207 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.002809, allocations: 87.7 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.002915, allocations: 27.91 kB / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003041, allocations: 67.83 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.003106, allocations: 31.89 kB / 0.8209 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.003123, allocations: 8 kB / 0.8209 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.003197, allocations: 19.98 kB / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.003238, allocations: 19.88 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.003264, allocations: 19.94 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003378, allocations: 75.69 kB / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.003392, allocations: 0 / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003393, allocations: 0 / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.003408, allocations: 3.938 kB / 0.821 GB, free: 132 kB / 0.7917 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.0004047/0.003813, allocations: 332 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.003846, allocations: 8.031 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.004037, allocations: 110 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.004198, allocations: 148 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.004207, allocations: 8.375 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004217, allocations: 8.375 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.004349, allocations: 85.67 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004358, allocations: 3.938 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.004366, allocations: 8 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.004371, allocations: 0 / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.004407, allocations: 19.98 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.004697, allocations: 225.7 kB / 0.8219 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.005004, allocations: 70.48 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.005026, allocations: 16.97 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.005058, allocations: 4 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.005077, allocations: 34.56 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.005078, allocations: 0 / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001278/0.005205, allocations: 65.61 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.005233, allocations: 51.41 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.005295, allocations: 141.3 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.005305, allocations: 25.7 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.005339, allocations: 108.1 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.00536, allocations: 19.84 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.005388, allocations: 25.7 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.005456, allocations: 326.8 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.005474, allocations: 7.078 kB / 0.8228 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.00549, allocations: 15.98 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.00553, allocations: 30.5 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005531, allocations: 3.938 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.85e-05/0.00559, allocations: 49.69 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.0056, allocations: 4 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.005604, allocations: 0 / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.005612, allocations: 0 / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.005691, allocations: 27.97 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005695, allocations: 4 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.005719, allocations: 7.875 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.005734, allocations: 7.984 kB / 0.8229 GB, free: 13.99 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 4.778e-05/0.005782, allocations: 112.7 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.005798, allocations: 8 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.005897, allocations: 74.33 kB / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005898, allocations: 0 / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.0059, allocations: 0 / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005902, allocations: 0 / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.241e-05/0.005995, allocations: 101.8 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005996, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.006044, allocations: 20.23 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.006051, allocations: 3.953 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006052, allocations: 0 / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006059, allocations: 11.98 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.006059, allocations: 0 / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00606, allocations: 0 / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.006163, allocations: 206.1 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.006175, allocations: 3.984 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.006214, allocations: 4 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.006243, allocations: 11.98 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.006248, allocations: 4 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.858e-05/0.006267, allocations: 24.83 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006267, allocations: 3.938 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001263/0.006393, allocations: 27.88 kB / 0.8235 GB, free: 13.33 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 8.466e-05/0.006478, allocations: 80.41 kB / 0.8236 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.006547, allocations: 32.78 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.006552, allocations: 0 / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.006578, allocations: 28.83 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.006685, allocations: 15.86 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.007528, allocations: 213.3 kB / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.007563, allocations: 71.27 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.007589, allocations: 4 kB / 0.8239 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.00763, allocations: 55.36 kB / 0.824 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of SimCode: time 7.02e-07/0.007631, allocations: 4 kB / 0.824 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.002117/0.009748, allocations: 0.7091 MB / 0.8247 GB, free: 12.07 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281328081153333]